Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / deforaos-panel / patches / patch-src_applets_memory.c
blob6a536cb4ba0e3564a04fafee822b9727ce91c642
1 $NetBSD$
3 --- src/applets/memory.c.orig 2013-01-15 13:21:08.000000000 +0000
4 +++ src/applets/memory.c
5 @@ -21,12 +21,13 @@
6 #include <errno.h>
7 #if defined(__linux__)
8 # include <sys/sysinfo.h>
9 -#elif defined(__FreeBSD__) || defined(__NetBSD__)
10 +#elif defined(__NetBSD__)
11 +# include <sys/sysctl.h>
12 +# include <sys/vmmeter.h>
13 +#elif defined(__FreeBSD__)
14 # include <sys/sysctl.h>
15 -# if defined(__FreeBSD__)
16 -# include <sys/vmmeter.h>
17 -# include <vm/vm_param.h>
18 -# endif
19 +# include <sys/vmmeter.h>
20 +# include <vm/vm_param.h>
21 #endif
22 #include <libintl.h>
23 #include "Panel.h"