diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-08 13:15:10 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-08 13:15:10 +0000 |
commit | c1437b71e4927e2b37269909b6ae28c3445c8e3b (patch) | |
tree | 923b0a51c62868811d1b39e86ca33f76a95bd50c /usr.sbin/vmctl/main.c | |
parent | be9e1d74d422ea6de6e9b672ed8e3b5f2e5740ef (diff) |
style(9) says that is OK to not include sys/cdefs.h directly, as it
comes from sys/types.h (include-what-you-use doesn't know this policy).
Pointed out by Jan Schreiber
Diffstat (limited to 'usr.sbin/vmctl/main.c')
-rw-r--r-- | usr.sbin/vmctl/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmctl/main.c b/usr.sbin/vmctl/main.c index 799ca4dd5d8..e7a7aa6dd80 100644 --- a/usr.sbin/vmctl/main.c +++ b/usr.sbin/vmctl/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.8 2015/12/08 08:02:15 reyk Exp $ */ +/* $OpenBSD: main.c,v 1.9 2015/12/08 13:15:09 reyk Exp $ */ /* * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> @@ -20,7 +20,6 @@ #include <sys/socket.h> #include <sys/queue.h> #include <sys/un.h> -#include <sys/cdefs.h> #include <machine/vmmvar.h> @@ -36,6 +35,7 @@ #include <imsg.h> #include "vmd.h" +#include "proc.h" #include "vmctl.h" static const char *socket_name = SOCKET_NAME; |