unistd does not always include getopt.h (by @velichkov)

This commit is contained in:
Lev Walkin 2017-10-09 20:25:05 -07:00
parent c346f90373
commit 42a94cbc30
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h> /* for atoi(3) */
#include <unistd.h> /* for getopt(3) */
#include <getopt.h> /* for getopt(3) */
#include <string.h> /* for strerror(3) */
#include <sysexits.h> /* for EX_* exit codes */
#include <errno.h> /* for errno */