summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2015-10-01 13:04:42 +0000
committerjsg <jsg@openbsd.org>2015-10-01 13:04:42 +0000
commit6d347d62ec29a5233203571c7c326f8ab4158d8a (patch)
treeca59da02c4794945f8d49c7ffaea585d7a982577
parentsync proc.c with httpd. no functional change, only switching to C99 types. (diff)
downloadwireguard-openbsd-6d347d62ec29a5233203571c7c326f8ab4158d8a.tar.xz
wireguard-openbsd-6d347d62ec29a5233203571c7c326f8ab4158d8a.zip
include ctype.h for the isspace(3) using _NG_ISSPACE
-rw-r--r--usr.sbin/netgroup_mkdb/stringlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/netgroup_mkdb/stringlist.c b/usr.sbin/netgroup_mkdb/stringlist.c
index 73f9d8dc3d0..d1fbe15700a 100644
--- a/usr.sbin/netgroup_mkdb/stringlist.c
+++ b/usr.sbin/netgroup_mkdb/stringlist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stringlist.c,v 1.1 2015/09/10 18:59:34 deraadt Exp $ */
+/* $OpenBSD: stringlist.c,v 1.2 2015/10/01 13:04:42 jsg Exp $ */
/*
* Copyright (c) 1994 Christos Zoulas
@@ -36,6 +36,7 @@
#include <netgroup.h>
#include <string.h>
#include <stdlib.h>
+#include <ctype.h>
#include "stringlist.h"
static const char _ngstar[] = "*";