summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLandry Breuil <landry@rhaalovely.net>2011-05-31 11:07:52 +0100
committerRichard Hughes <richard@hughsie.com>2011-05-31 11:07:52 +0100
commitfed9c33910eb67fdd7219109d2939fbd2d5faeba (patch)
tree8c3b08fa36b71004c16bc531de1300f7e68498ba
parente495d53661badd4a2335fba5c43a2bfd2a6b5cff (diff)
Add openbsd missing includes for close() and strcmp()
-rw-r--r--src/openbsd/up-native.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openbsd/up-native.c b/src/openbsd/up-native.c
index ce552c1..b908c55 100644
--- a/src/openbsd/up-native.c
+++ b/src/openbsd/up-native.c
@@ -21,6 +21,8 @@
#include "up-apm-native.h"
#include "up-native.h"
+#include <unistd.h> /* close() */
+#include <string.h> /* strcmp() */
/* XXX why does this macro needs to be in the .c ? */
G_DEFINE_TYPE (UpApmNative, up_apm_native, G_TYPE_OBJECT)