projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #778 from landryb/openbsd_fix_processes_plugin
[collectd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
b0fbf56
..
1a8de1b
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-809,7
+809,9
@@
if test "x$have_swapctl" = "xyes"; then
# undef _LARGEFILE64_SOURCE
#endif
#include <sys/stat.h>
# undef _LARGEFILE64_SOURCE
#endif
#include <sys/stat.h>
+#include <sys/param.h>
#include <sys/swap.h>
#include <sys/swap.h>
+#include <unistd.h>
]]],
[[[
int num = swapctl(0, NULL);
]]],
[[[
int num = swapctl(0, NULL);
@@
-829,7
+831,9
@@
int num = swapctl(0, NULL);
# undef _LARGEFILE64_SOURCE
#endif
#include <sys/stat.h>
# undef _LARGEFILE64_SOURCE
#endif
#include <sys/stat.h>
+#include <sys/param.h>
#include <sys/swap.h>
#include <sys/swap.h>
+#include <unistd.h>
]]],
[[[
int num = swapctl(0, NULL, 0);
]]],
[[[
int num = swapctl(0, NULL, 0);