]> Zhao Yanbai Git Server - minix.git/commitdiff
service(8): no need to include kernel headers 53/3053/1
authorDavid van Moolenbroek <david@minix3.org>
Thu, 13 Aug 2015 13:31:21 +0000 (13:31 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 13 Aug 2015 13:44:57 +0000 (13:44 +0000)
Change-Id: I8fb7a1a58457909b7759a74925a12cf9b11261f0

minix/commands/service/Makefile
minix/commands/service/parse.c
minix/commands/service/service.c

index fb17429b2c8f711244d3d96b59470dd5fec14d6d..735a70e046451de49014cdde5364e322cf1dd512 100644 (file)
@@ -7,6 +7,4 @@ BINDIR= /bin
 MAN.service=   service.8
 MAN.printconfig=
 
-CPPFLAGS+=     -I${NETBSDSRCDIR}/minix
-
 .include <bsd.prog.mk>
index 478d2fa550f21b1e3a9744e62751ef513b68423a..264fb432b4a6cc3f71c155a1520ed6b7958adf04 100644 (file)
 #include <minix/paths.h>
 #include <minix/sef.h>
 #include <minix/dmap.h>
+#include <minix/priv.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <configfile.h>
 
 #include <machine/archtypes.h>
 #include <minix/timers.h>
-#include "kernel/proc.h"
 
 #include "config.h"
 #include "proto.h"
index 50c38bd403c6d6681efafff46a5f890e7cb5a3a6..854d7911c751e2a30693adbe7e2918a4454892ef 100644 (file)
@@ -34,7 +34,6 @@
 #include <machine/archtypes.h>
 #include <minix/timers.h>
 #include <err.h>
-#include "kernel/proc.h"
 
 #include "config.h"
 #include "proto.h"