summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-03-08 13:26:41 +0000
committerSimon Josefsson <simon@josefsson.org>2006-03-08 13:26:41 +0000
commit30752a675b2331433ea71152c57dccb4331518de (patch)
tree34e61bf1ea61ae863ecac2b1ebfbfc122f049f63
parent1d81cc21d28fb5cabbb3a0a587b3194bf1355f98 (diff)
downloadlibtasn1-30752a675b2331433ea71152c57dccb4331518de.tar.gz
libtasn1-30752a675b2331433ea71152c57dccb4331518de.tar.bz2
libtasn1-30752a675b2331433ea71152c57dccb4331518de.zip
Fix unistd.h.
-rw-r--r--src/asn1Coding.c6
-rw-r--r--src/asn1Decoding.c6
-rw-r--r--src/asn1Parser.c6
3 files changed, 6 insertions, 12 deletions
diff --git a/src/asn1Coding.c b/src/asn1Coding.c
index 4ac3d33..f195c07 100644
--- a/src/asn1Coding.c
+++ b/src/asn1Coding.c
@@ -27,15 +27,13 @@
/* of an ASN1 definition. */
/*****************************************************/
+#include <config.h>
+
#include <stdio.h>
#include <string.h>
#include <libtasn1.h>
#include <stdlib.h>
-#include <config.h>
-
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#ifdef HAVE_GETOPT_H
#include <getopt.h>
diff --git a/src/asn1Decoding.c b/src/asn1Decoding.c
index 69b2bdb..52d8bde 100644
--- a/src/asn1Decoding.c
+++ b/src/asn1Decoding.c
@@ -27,15 +27,13 @@
/* a DER coding. */
/*****************************************************/
+#include <config.h>
+
#include <stdio.h>
#include <string.h>
#include <libtasn1.h>
#include <stdlib.h>
-#include <config.h>
-
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#ifdef HAVE_GETOPT_H
#include <getopt.h>
diff --git a/src/asn1Parser.c b/src/asn1Parser.c
index 6b2be7d..dec985c 100644
--- a/src/asn1Parser.c
+++ b/src/asn1Parser.c
@@ -27,15 +27,13 @@
/* definitions. */
/*****************************************************/
+#include <config.h>
+
#include <stdio.h>
#include <string.h>
#include <libtasn1.h>
#include <stdlib.h>
-#include <config.h>
-
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#ifdef HAVE_GETOPT_H
#include <getopt.h>