Allow src/apcupsd.c to compile cleanly on FreeBSD.
authorNikos Ntarmos <ntarmos@cs.uoi.gr>
Fri, 22 May 2009 19:08:18 +0000 (22:08 +0300)
committerBrenden 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

index 3136dea..19f3140 100644 (file)
@@ -22,6 +22,8 @@
 #include "logging.h"
 
 #include <errno.h>
+#include <netinet/in.h>
+#include <netdb.h>
 #include <sys/time.h>
 #include <unistd.h>