summaryrefslogtreecommitdiff
path: root/sysutils/powerman/files/patch-src-wrappers.h
blob: 04edc0cdda8e66a8f7edb687a3da4f2509501b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$FreeBSD$

--- src/wrappers.h.orig	Mon Mar 29 12:57:11 2004
+++ src/wrappers.h	Mon Mar 29 13:46:45 2004
@@ -35,9 +35,14 @@
 #include <sys/time.h>
 #include <time.h>
 #include <regex.h>
+#include <netinet/in.h>
 #include <netdb.h>
 #if HAVE_POLL
 #include <sys/poll.h>
+#endif
+
+#ifdef __FreeBSD__
+#define REG_NOERROR 0
 #endif
 
 /*