projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d0d14
)
Allow src/apcupsd.c to compile cleanly on FreeBSD.
author
Nikos Ntarmos
<ntarmos@cs.uoi.gr>
Fri, 22 May 2009 19:08:18 +0000
(22:08 +0300)
committer
Brenden Matthews
<brenden@rty.ca>
Sun, 24 May 2009 03:08:32 +0000
(21:08 -0600)
Signed-off-by: Brenden Matthews <brenden@rty.ca>
src/apcupsd.c
patch
|
blob
|
history
diff --git
a/src/apcupsd.c
b/src/apcupsd.c
index
3136dea
..
19f3140
100644
(file)
--- a/
src/apcupsd.c
+++ b/
src/apcupsd.c
@@
-22,6
+22,8
@@
#include "logging.h"
#include <errno.h>
+#include <netinet/in.h>
+#include <netdb.h>
#include <sys/time.h>
#include <unistd.h>