summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/grep
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/grep')
-rw-r--r--gnu/usr.bin/grep/Makefile3
-rw-r--r--gnu/usr.bin/grep/config.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile
index 5f6ecdd..9c4224c 100644
--- a/gnu/usr.bin/grep/Makefile
+++ b/gnu/usr.bin/grep/Makefile
@@ -3,8 +3,7 @@
GREP_LIBZ=YES
PROG= grep
-SRCS= dfa.c getopt.c getopt1.c grep.c kwset.c obstack.c savedir.c search.c \
- stpcpy.c
+SRCS= dfa.c getopt.c getopt1.c grep.c kwset.c obstack.c savedir.c search.c
CFLAGS+=-I${.CURDIR} -DHAVE_CONFIG_H
diff --git a/gnu/usr.bin/grep/config.h b/gnu/usr.bin/grep/config.h
index 70fdeb6..2bae7dc 100644
--- a/gnu/usr.bin/grep/config.h
+++ b/gnu/usr.bin/grep/config.h
@@ -64,7 +64,7 @@
/* Hack for Visual C++ suggested by irox. */
/* #undef alloca */
-/* #undef HAVE_STPCPY */
+#define HAVE_STPCPY 1
/* #undef ENABLE_NLS */
@@ -125,7 +125,7 @@
#define HAVE_SETMODE 1
/* Define if you have the stpcpy function. */
-/* #undef HAVE_STPCPY */
+#define HAVE_STPCPY 1
/* Define if you have the strcasecmp function. */
#define HAVE_STRCASECMP 1
OpenPOWER on IntegriCloud