aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/pkcs12
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2007-10-29 00:58:06 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2007-10-29 00:58:06 +0000
commit9780b71e9b05e03998adf751f21c6ad20f8acf1f (patch)
tree13bf71889651443cd9c692553fb85becaa56f672 /asn1/pkcs12
parenta198aa8b8bc2385c6d85b6f07ea9d96aa428e862 (diff)
Include winposixtype.h only if building with GNUTLS; Bug #1949: Part 1 of fix
[asn1 template plu generated .c file] git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23301 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/pkcs12')
-rw-r--r--asn1/pkcs12/packet-pkcs12-template.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/asn1/pkcs12/packet-pkcs12-template.c b/asn1/pkcs12/packet-pkcs12-template.c
index 4176bb7f47..6b03980d84 100644
--- a/asn1/pkcs12/packet-pkcs12-template.c
+++ b/asn1/pkcs12/packet-pkcs12-template.c
@@ -43,14 +43,15 @@
#include "packet-x509if.h"
#include "packet-cms.h"
-#ifdef _WIN32
-#include <winposixtype.h>
-#else
+#ifndef _WIN32
#include <sys/types.h>
#include <sys/time.h>
#endif
#ifdef HAVE_LIBGCRYPT
+#ifdef _WIN32
+#include <winposixtype.h>
+#endif
#include "gcrypt.h"
#endif