summaryrefslogtreecommitdiffstats
path: root/source/n/netkit-rwho/rwhod_getloadavg.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/netkit-rwho/rwhod_getloadavg.diff')
-rw-r--r--source/n/netkit-rwho/rwhod_getloadavg.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/n/netkit-rwho/rwhod_getloadavg.diff b/source/n/netkit-rwho/rwhod_getloadavg.diff
new file mode 100644
index 000000000..0a8fd7d2c
--- /dev/null
+++ b/source/n/netkit-rwho/rwhod_getloadavg.diff
@@ -0,0 +1,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>