Debian Codegraph @

debian/patches/gnukfreebsd_port

raw
1 Surprisingly, GNU/kFreeBSD has /proc/loadavg and no nlist(3).
2
3 diff -ruNp inn-1.7.2.orig/nnrpd/loadave.c inn-1.7.2/nnrpd/loadave.c
4 --- inn-1.7.2.orig/nnrpd/loadave.c 1997-12-09 00:48:50.000000000 +0100
5 +++ inn-1.7.2/nnrpd/loadave.c 2007-08-07 21:27:09.000000000 +0200
6 @@ -7,7 +7,7 @@
7 #include "clibrary.h"
8 #include "nnrpd.h"
9 #if NNRP_LOADLIMIT > 0
10 -#ifdef linux
11 +#ifdef __GLIBC__
12
13 /*
14 ** Get the current load average as an integer.