From: David van Moolenbroek Date: Thu, 13 Aug 2015 13:31:21 +0000 (+0000) Subject: service(8): no need to include kernel headers X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/already%20found%20%2A/doxygen.log?a=commitdiff_plain;h=162f54c2899fec7e8f457954a33b6c2f5f81b73d;p=minix.git service(8): no need to include kernel headers Change-Id: I8fb7a1a58457909b7759a74925a12cf9b11261f0 --- diff --git a/minix/commands/service/Makefile b/minix/commands/service/Makefile index fb17429b2..735a70e04 100644 --- a/minix/commands/service/Makefile +++ b/minix/commands/service/Makefile @@ -7,6 +7,4 @@ BINDIR= /bin MAN.service= service.8 MAN.printconfig= -CPPFLAGS+= -I${NETBSDSRCDIR}/minix - .include diff --git a/minix/commands/service/parse.c b/minix/commands/service/parse.c index 478d2fa55..264fb432b 100644 --- a/minix/commands/service/parse.c +++ b/minix/commands/service/parse.c @@ -23,13 +23,13 @@ #include #include #include +#include #include #include #include #include #include -#include "kernel/proc.h" #include "config.h" #include "proto.h" diff --git a/minix/commands/service/service.c b/minix/commands/service/service.c index 50c38bd40..854d7911c 100644 --- a/minix/commands/service/service.c +++ b/minix/commands/service/service.c @@ -34,7 +34,6 @@ #include #include #include -#include "kernel/proc.h" #include "config.h" #include "proto.h"