summaryrefslogtreecommitdiff
path: root/src/openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbsd')
-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)