summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/lib/libkern/getsn.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/lib/libkern/getsn.c b/sys/lib/libkern/getsn.c
index 7a5d7a518c0..8026ef4f4c6 100644
--- a/sys/lib/libkern/getsn.c
+++ b/sys/lib/libkern/getsn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getsn.c,v 1.1 1996/06/16 01:14:20 deraadt Exp $ */
+/* $OpenBSD: getsn.c,v 1.2 1996/08/23 19:22:43 niklas Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt
@@ -30,6 +30,11 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+#include <sys/types.h>
+#include <sys/systm.h>
+#include <dev/cons.h>
+
int
getsn(cp, size)
char *cp;