aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-util.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/w32-util.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/w32-util.c')
-rw-r--r--src/w32-util.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/w32-util.c b/src/w32-util.c
index ec2fe50f..532f89e9 100644
--- a/src/w32-util.c
+++ b/src/w32-util.c
@@ -32,8 +32,12 @@
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
-#include <sys/types.h>
-#include <sys/stat.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
@@ -104,7 +108,6 @@ dlclose (void * hd)
}
#endif /* HAVE_ALLOW_SET_FOREGROUND_WINDOW */
-
void
_gpgme_allow_set_foreground_window (pid_t pid)
{