build: Fix warnings by including necessary headers
authorStef Walter <stefw@gnome.org>
Tue, 4 Dec 2012 12:57:22 +0000 (13:57 +0100)
committerStef Walter <stefw@gnome.org>
Tue, 4 Dec 2012 12:57:22 +0000 (13:57 +0100)
gck/gck-debug.c
gcr/gcr-gnupg-process.c
gcr/tests/console-interaction.c

index 7bd3c61..0ad5b05 100644 (file)
 
 #include <p11-kit/pkcs11.h>
 
+#include <sys/types.h>
+
+#include <unistd.h>
+
 #ifdef WITH_DEBUG
 
 static gsize initialized_flags = 0;
index fc37171..4677b46 100644 (file)
@@ -35,6 +35,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <string.h>
+#include <unistd.h>
 
 /**
  * GcrGnupgProcessFlags:
index 6d75207..c642798 100644 (file)
@@ -32,6 +32,8 @@
 
 #include "console-interaction.h"
 
+#include <unistd.h>
+
 /*
  * WARNING: This is not the example you're looking for [slow hand wave]. This
  * is not industrial strength, it's just for testing. It uses embarassing