projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix this (a pointer was compared with an integer):
[collectd.git]
/
src
/
swap.c
diff --git
a/src/swap.c
b/src/swap.c
index
5812b59
..
0891503
100644
(file)
--- a/
src/swap.c
+++ b/
src/swap.c
@@
-32,9
+32,9
@@
# define SWAP_HAVE_READ 0
#endif
-#if
def KERNEL_SOLARIS
-#include <sys/swap.h>
-#endif
/* KERNEL_SOLARIS */
+#if
HAVE_SYS_SWAP_H
+#
include <sys/swap.h>
+#endif
#undef MAX
#define MAX(x,y) ((x) > (y) ? (x) : (y))