aboutsummaryrefslogtreecommitdiffstats
path: root/src/keylist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-11-03 09:56:27 +0000
committerWerner Koch <[email protected]>2010-11-03 09:56:27 +0000
commit21eb91ae3a8578b678d71083f4513de67b2e4e0f (patch)
treef4a1f78ee8611b006c726f829283ac4ec7001f80 /src/keylist.c
parentMight now build for CE using MSC. (diff)
downloadgpgme-21eb91ae3a8578b678d71083f4513de67b2e4e0f.tar.gz
gpgme-21eb91ae3a8578b678d71083f4513de67b2e4e0f.zip
More include guards.
Provide access for Wince. Install dummy sehmap.h
Diffstat (limited to 'src/keylist.c')
-rw-r--r--src/keylist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keylist.c b/src/keylist.c
index f76904b0..8f61a261 100644
--- a/src/keylist.c
+++ b/src/keylist.c
@@ -25,8 +25,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-/* Solaris 8 needs sys/types.h before time.h. */
-#include <sys/types.h>
+#ifdef HAVE_SYS_TYPES_H
+ /* Solaris 8 needs sys/types.h before time.h. */
+# include <sys/types.h>
+#endif
#include <time.h>
#include <assert.h>
#include <ctype.h>