summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-07-02 13:51:19 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-07-02 13:51:19 +0000
commite72e204cf708481e6c6627d7f6ef29bb0a61a59d (patch)
tree3ebe0e075d46c9d584b1c4143cc6055d1e29ed11
parent058f5c24dcbea0c4e524cba0e9fa394ef7b4eab9 (diff)
#include <string.h> to get mem* prototypes.
-rw-r--r--sbin/fdisk/fdisk.c3
-rw-r--r--sbin/fdisk/part.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
index 94f7970962f..d0c6e562e6e 100644
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdisk.c,v 1.32 2001/06/23 01:54:38 kjell Exp $ */
+/* $OpenBSD: fdisk.c,v 1.33 2001/07/02 13:51:17 millert Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -33,6 +33,7 @@
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <paths.h>
#include <sys/types.h>
diff --git a/sbin/fdisk/part.c b/sbin/fdisk/part.c
index d6ae6a08f56..cf251105eeb 100644
--- a/sbin/fdisk/part.c
+++ b/sbin/fdisk/part.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: part.c,v 1.23 2001/06/23 04:27:30 kjell Exp $ */
+/* $OpenBSD: part.c,v 1.24 2001/07/02 13:51:18 millert Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -33,6 +33,7 @@
#include <err.h>
#include <util.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <sys/fcntl.h>
#include <sys/types.h>