summaryrefslogtreecommitdiff
path: root/sysutils/gtar/files/patch-lib_dirname_c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gtar/files/patch-lib_dirname_c')
-rw-r--r--sysutils/gtar/files/patch-lib_dirname_c16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/gtar/files/patch-lib_dirname_c b/sysutils/gtar/files/patch-lib_dirname_c
new file mode 100644
index 000000000000..e3b34c334fdc
--- /dev/null
+++ b/sysutils/gtar/files/patch-lib_dirname_c
@@ -0,0 +1,16 @@
+$FreeBSD$
+--- lib/dirname.c.orig Wed Jan 31 02:08:57 2001
++++ lib/dirname.c Wed Jan 31 02:10:31 2001
+@@ -19,6 +19,12 @@
+ # include <config.h>
+ #endif
+
++#if HAVE_STRING_H
++# include <string.h>
++#else
++# include <strings.h>
++#endif
++
+ #if HAVE_STDLIB_H
+ # include <stdlib.h>
+ #endif