aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/priv-io.h4
-rw-r--r--src/util.h7
3 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e6728368..361e6979 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-12 Marcus Brinkmann <[email protected]>
+
+ * priv-io.h: Include <sys/types.h>
+ * util.h: Likewise.
+
2010-05-11 Marcus Brinkmann <[email protected]>
* w32-util.c: Include ath.h
diff --git a/src/priv-io.h b/src/priv-io.h
index 3ed2260a..89c750dd 100644
--- a/src/priv-io.h
+++ b/src/priv-io.h
@@ -28,6 +28,10 @@
# include <sys/socket.h>
#endif
+/* For pid_t. */
+#include <sys/types.h>
+
+
/* A single file descriptor passed to spawn. For child fds, dup_to
specifies the fd it should become in the child, but only 0, 1 and 2
are valid values (due to a limitation in the W32 code). As return
diff --git a/src/util.h b/src/util.h
index f4d23b6e..b892e447 100644
--- a/src/util.h
+++ b/src/util.h
@@ -22,6 +22,13 @@
#ifndef UTIL_H
#define UTIL_H
+#ifdef HAVE_W32CE_SYSTEM
+#include "w32-ce.h"
+#endif
+
+/* For pid_t. */
+#include <sys/types.h>
+
#include "gpgme.h"