aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/pkcs12/packet-pkcs12-template.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-11-23 18:54:26 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-11-23 18:54:26 +0000
commita7c9f33f3cc617a37742487c29ff7b26c8384272 (patch)
tree9b94c561ee5ff5fb66367d870012bb57443e03e6 /asn1/pkcs12/packet-pkcs12-template.c
parentd577ca0fa79112f55a1ea1bac5e5e83828f80ec9 (diff)
Guard #include <sys/types.h> with HAVE_SYS_TYPES_H.
svn path=/trunk/; revision=31054
Diffstat (limited to 'asn1/pkcs12/packet-pkcs12-template.c')
-rw-r--r--asn1/pkcs12/packet-pkcs12-template.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/asn1/pkcs12/packet-pkcs12-template.c b/asn1/pkcs12/packet-pkcs12-template.c
index 73cf32d2a1..1d8206e391 100644
--- a/asn1/pkcs12/packet-pkcs12-template.c
+++ b/asn1/pkcs12/packet-pkcs12-template.c
@@ -42,8 +42,11 @@
#include "packet-x509if.h"
#include "packet-cms.h"
-#ifndef _WIN32
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif