aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.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/debug.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 '')
-rw-r--r--src/debug.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c
index 754c8e11..1d9a40eb 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -33,9 +33,13 @@
#include <errno.h>
#include <time.h>
#ifndef HAVE_DOSISH_SYSTEM
+# ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
+# endif
+# ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
-# include <fcntl.h>
+# endif
+# include <fcntl.h>
#endif
#include <assert.h>