diff options
author | 2015-12-08 13:15:09 +0000 | |
---|---|---|
committer | 2015-12-08 13:15:09 +0000 | |
commit | 8213a70a4dab98826e18aa1084c26345ef025fe8 (patch) | |
tree | 20740a0bf693a9b670429a984c1ad3ca8502603e | |
parent | _SYS_TASKQ_H_ -> _SYS_TASK_H_ (diff) | |
download | wireguard-openbsd-8213a70a4dab98826e18aa1084c26345ef025fe8.tar.xz wireguard-openbsd-8213a70a4dab98826e18aa1084c26345ef025fe8.zip |
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
-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; |