aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-12-02 23:30:35 +0100
committerMarius Halden <marius.h@lden.org>2015-12-02 23:30:35 +0100
commitc1957fa56dedc6acb67f53e882bd81bbea4129b5 (patch)
treec43a75fccb218d375e31c08b8af6b9558e666671
parente560b1d1dcf6cbcd75e6bebad55d818e2ea00dbe (diff)
downloadsvcmon-c1957fa56dedc6acb67f53e882bd81bbea4129b5.tar.gz
svcmon-c1957fa56dedc6acb67f53e882bd81bbea4129b5.tar.bz2
svcmon-c1957fa56dedc6acb67f53e882bd81bbea4129b5.tar.xz
Missing header
-rw-r--r--Makefile2
-rw-r--r--svcok.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6467127..f96e4ca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CFLAGS ?= -std=c11 -Wall -Werror -pedantic
-all: svcscan svcsupervise #svcok svcstat svctl
+all: svcscan svcsupervise svcok #svcstat svctl
svcscan: svcscan.c
${CC} ${CFLAGS} -o svcscan svcscan.c
diff --git a/svcok.c b/svcok.c
index 9919f80..03f3755 100644
--- a/svcok.c
+++ b/svcok.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include <err.h>
#include <errno.h>
#include <sys/file.h>