summaryrefslogtreecommitdiff
path: root/gl/getopt.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-02-28 11:31:41 +0000
committerSimon Josefsson <simon@josefsson.org>2006-02-28 11:31:41 +0000
commit29d8418460e8a66d40a3eb4c889d30f1e891788f (patch)
tree9baf386b11afeea6233be1189fb8c1f9382d0ded /gl/getopt.c
parente9106ee82c8225ce0d86ac151c0624822c1c398c (diff)
downloadlibtasn1-29d8418460e8a66d40a3eb4c889d30f1e891788f.tar.gz
Update.
Diffstat (limited to 'gl/getopt.c')
-rw-r--r--gl/getopt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gl/getopt.c b/gl/getopt.c
index d75f214..b74deef 100644
--- a/gl/getopt.c
+++ b/gl/getopt.c
@@ -29,7 +29,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#ifdef VMS
# include <unixlib.h>