blob: 74ecdb86136adb2784f7fb28737c3b43a469c5e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-ag,v 1.5 2006/01/24 22:16:55 adam Exp $
--- agent/mibgroup/host/hr_storage.c.orig 2006-01-24 22:10:22.000000000 +0100
+++ agent/mibgroup/host/hr_storage.c
@@ -73,6 +73,13 @@
#endif
#endif /* vm/vm.h */
#endif /* sys/vm.h */
+#if HAVE_SYS_POOL_H
+#if defined(MBPOOL_SYMBOL) && defined(MCLPOOL_SYMBOL)
+#define __POOL_EXPOSE
+#include <sys/pool.h>
+#else
+#undef HAVE_SYS_POOL_H
+#endif
#if defined(HAVE_UVM_UVM_PARAM_H) && defined(HAVE_UVM_UVM_EXTERN_H)
#include <uvm/uvm_param.h>
#include <uvm/uvm_extern.h>
@@ -86,13 +93,6 @@
#if HAVE_FCNTL_H
#include <fcntl.h>
#endif
-#if HAVE_SYS_POOL_H
-#if defined(MBPOOL_SYMBOL) && defined(MCLPOOL_SYMBOL)
-#define __POOL_EXPOSE
-#include <sys/pool.h>
-#else
-#undef HAVE_SYS_POOL_H
-#endif
#endif
#if HAVE_SYS_MBUF_H
#include <sys/mbuf.h>
|