~aperezdc/dmon

5d8086aea34678d7b571446804b0a945b0fb153f — Matt Schulte 4 years ago 357e8e7
Place #include <sys/sysinfo.h> in UCLIBC #ifdef
1 files changed, 1 insertions(+), 1 deletions(-)

M dmon.c
M dmon.c => dmon.c +1 -1
@@ 13,7 13,6 @@
#include "task.h"
#include "util.h"
#include <assert.h>
#include <sys/sysinfo.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdarg.h>


@@ 140,6 139,7 @@ signal_to_name (int signum)
}

#if defined(__UCLIBC__)
#include <sys/sysinfo.h>
static int getloadavg(double *a, int n)
{
    struct sysinfo si;