summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/patch/getopt.c
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1997-03-17 01:44:43 +0000
committerjmg <jmg@FreeBSD.org>1997-03-17 01:44:43 +0000
commit5a9515e41823c0301caeed698dac85c7fb2517a4 (patch)
tree301daaac71c7f31812bbeb45295996b44e322d0f /gnu/usr.bin/patch/getopt.c
parent52336caffb6002438ca3d2ac83b080a13cb04317 (diff)
downloadFreeBSD-src-5a9515e41823c0301caeed698dac85c7fb2517a4.zip
FreeBSD-src-5a9515e41823c0301caeed698dac85c7fb2517a4.tar.gz
fix compilation warnings in patch... (with slight modification)
also remove -Wall that I acidentally committed last time I was here... Submitted-by: Philippe Charnier Closes PR#2998
Diffstat (limited to 'gnu/usr.bin/patch/getopt.c')
-rw-r--r--gnu/usr.bin/patch/getopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/patch/getopt.c b/gnu/usr.bin/patch/getopt.c
index a59a013..98a6f33 100644
--- a/gnu/usr.bin/patch/getopt.c
+++ b/gnu/usr.bin/patch/getopt.c
@@ -52,6 +52,7 @@ char *alloca ();
#endif
#include <stdio.h>
+#include <string.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C
OpenPOWER on IntegriCloud