summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-04-04 16:51:37 +0000
committermillert <millert@openbsd.org>1997-04-04 16:51:37 +0000
commit921a78c9dadaa7e0e2ce8e65a45a236cfa653eca (patch)
tree73501ea70ad4f5220c99cdc7b134277e3a705f61
parentseek(2) is not needed (diff)
downloadwireguard-openbsd-921a78c9dadaa7e0e2ce8e65a45a236cfa653eca.tar.xz
wireguard-openbsd-921a78c9dadaa7e0e2ce8e65a45a236cfa653eca.zip
#include <string.h> since we use string functions...
-rw-r--r--sbin/nologin/nologin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/nologin/nologin.c b/sbin/nologin/nologin.c
index e49feae7a6d..c4132b53424 100644
--- a/sbin/nologin/nologin.c
+++ b/sbin/nologin/nologin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nologin.c,v 1.1 1997/02/16 04:15:32 downsj Exp $ */
+/* $OpenBSD: nologin.c,v 1.2 1997/04/04 16:51:37 millert Exp $ */
/*
* Copyright (c) 1997, Jason Downs. All rights reserved.
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <fcntl.h>
+#include <string.h>
#include <unistd.h>
/* Distinctly different from _PATH_NOLOGIN. */