ram: Move up includes

This commit is contained in:
Aaron Marcher 2018-04-29 20:00:38 +02:00
parent 7baad64a4b
commit cee6811036
1 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,11 @@
/* See LICENSE file for copyright and license details. */ /* See LICENSE file for copyright and license details. */
#include <stdio.h> #include <stdio.h>
#if defined (__OpenBSD__)
#include <sys/types.h>
#include <sys/sysctl.h>
#include <stdlib.h>
#include <unistd.h>
#endif
#include "../util.h" #include "../util.h"
@ -52,11 +58,6 @@ ram_used(void)
NULL; NULL;
} }
#elif defined(__OpenBSD__) #elif defined(__OpenBSD__)
#include <sys/types.h>
#include <sys/sysctl.h>
#include <stdlib.h>
#include <unistd.h>
inline int inline int
load_uvmexp(struct uvmexp *uvmexp) load_uvmexp(struct uvmexp *uvmexp)
{ {