aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2010-10-09 08:32:46 -0400
committerGene Cumm <gene.cumm@gmail.com>2010-10-09 08:32:46 -0400
commit0b2566e9aebbde9b16bb2fff6c0312e5cd403df0 (patch)
tree48c8ce7af95632c57447e3f351ea9de15d3de0ff
parentf8a2515b7c25495dc61460d70b8bcf811b0dec20 (diff)
downloadsyslinux-0b2566e9aebbde9b16bb2fff6c0312e5cd403df0.tar.gz
syslinux-0b2566e9aebbde9b16bb2fff6c0312e5cd403df0.tar.xz
syslinux-0b2566e9aebbde9b16bb2fff6c0312e5cd403df0.zip
unistd.h: Add missing getopt declarations
-rw-r--r--com32/include/unistd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/include/unistd.h b/com32/include/unistd.h
index fc514f10..9e13381a 100644
--- a/com32/include/unistd.h
+++ b/com32/include/unistd.h
@@ -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