summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-pkcs12.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-11-23 18:47:52 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-11-23 18:47:52 +0000
commitd577ca0fa79112f55a1ea1bac5e5e83828f80ec9 (patch)
treebb0f220887efd146c5733a6e5d488e831c316326 /epan/dissectors/packet-pkcs12.c
parentacbaa2848dc6a1362a1179146597b3b7d2068fbe (diff)
downloadwireshark-d577ca0fa79112f55a1ea1bac5e5e83828f80ec9.tar.gz
Guard #include <sys/types.h> with HAVE_SYS_TYPES_H.
svn path=/trunk/; revision=31053
Diffstat (limited to 'epan/dissectors/packet-pkcs12.c')
-rw-r--r--epan/dissectors/packet-pkcs12.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pkcs12.c b/epan/dissectors/packet-pkcs12.c
index 1b92bb65f8..fc5fd29a48 100644
--- a/epan/dissectors/packet-pkcs12.c
+++ b/epan/dissectors/packet-pkcs12.c
@@ -50,8 +50,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