diff options
author | Landry Breuil <landry@rhaalovely.net> | 2011-05-31 11:07:52 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2011-05-31 11:07:52 +0100 |
commit | fed9c33910eb67fdd7219109d2939fbd2d5faeba (patch) | |
tree | 8c3b08fa36b71004c16bc531de1300f7e68498ba /src/openbsd | |
parent | e495d53661badd4a2335fba5c43a2bfd2a6b5cff (diff) | |
download | upower-fed9c33910eb67fdd7219109d2939fbd2d5faeba.tar.gz |
Add openbsd missing includes for close() and strcmp()
Diffstat (limited to 'src/openbsd')
-rw-r--r-- | src/openbsd/up-native.c | 2 |
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) |