diff options
author | 2020-10-26 15:57:03 +0000 | |
---|---|---|
committer | 2020-10-26 15:57:03 +0000 | |
commit | fb16b9d10258c3fd21fa8096256be7053138d01e (patch) | |
tree | affd91debe2f442eb699785639561cb38f2fdde9 | |
parent | make includes should be more verbose (diff) | |
download | wireguard-openbsd-fb16b9d10258c3fd21fa8096256be7053138d01e.tar.xz wireguard-openbsd-fb16b9d10258c3fd21fa8096256be7053138d01e.zip |
use installed include file
ok martijn
-rw-r--r-- | lib/libagentx/Makefile | 4 | ||||
-rw-r--r-- | lib/libagentx/agentx.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libagentx/Makefile b/lib/libagentx/Makefile index 7808d002b2e..89a436a83e3 100644 --- a/lib/libagentx/Makefile +++ b/lib/libagentx/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/10/26 15:56:02 deraadt Exp $ +# $OpenBSD: Makefile,v 1.4 2020/10/26 15:57:03 deraadt Exp $ LIB= agentx @@ -6,7 +6,7 @@ SRCS= ax.c agentx.c agentx_log.c HDRS= agentx.h MAN= agentx.3 -CFLAGS+= -Wall -I${.CURDIR} +CFLAGS+= -Wall CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual diff --git a/lib/libagentx/agentx.c b/lib/libagentx/agentx.c index 6cafec2a04d..044370c5612 100644 --- a/lib/libagentx/agentx.c +++ b/lib/libagentx/agentx.c @@ -25,7 +25,7 @@ #include <unistd.h> #include "agentx_internal.h" -#include "agentx.h" +#include <agentx.h> enum agentx_index_type { AXI_TYPE_NEW, |