unistd.h: Add missing getopt declarations
authorGene Cumm <gene.cumm@gmail.com>
Sat, 9 Oct 2010 12:32:46 +0000 (08:32 -0400)
committerGene Cumm <gene.cumm@gmail.com>
Sat, 9 Oct 2010 12:32:46 +0000 (08:32 -0400)
com32/include/unistd.h

index fc514f1..9e13381 100644 (file)
@@ -28,6 +28,10 @@ __extern int chdir(const char *);
 __extern unsigned int sleep(unsigned int);
 __extern unsigned int msleep(unsigned int);
 
+__extern int getopt(int, char *const *, const char *);
+__extern char *optarg;
+__extern int optind, opterr, optopt;
+
 /* Standard file descriptor numbers. */
 #define STDIN_FILENO   0
 #define STDOUT_FILENO  1