summaryrefslogtreecommitdiffstats
path: root/source/n/netkit-rwho/rwhod_getloadavg.diff
blob: 0a8fd7d2c25fb4b07bccfe688c254afe06813dc9 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- rwhod/rwhod.c.orig        2007-05-31 00:35:32.301647500 +0000
+++ rwhod/rwhod.c     2008-12-14 23:14:32.387912500 +0000
@@ -63,7 +63,9 @@
 #include <syslog.h>
 #include <protocols/rwhod.h>
 #include <stdio.h>
+#undef __USE_BSD
 #include <stdlib.h>
+#define __USE_BSD
 #include <paths.h>
 #include <unistd.h>
 #include <string.h>