Add explicit include of unistd.h for getopt(3) and related variables.

This commit is contained in:
Todd C. Miller
2022-07-05 11:35:25 -06:00
parent 42c6d9fb50
commit f6e4d2765a
20 changed files with 20 additions and 0 deletions

View File

@@ -38,6 +38,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#if defined(HAVE_ENDIAN_H)
# include <endian.h>
#elif defined(HAVE_SYS_ENDIAN_H)