summaryrefslogtreecommitdiff
path: root/graphics/geomview/patches/patch-src_bin_animate_glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/geomview/patches/patch-src_bin_animate_glob.c')
-rw-r--r--graphics/geomview/patches/patch-src_bin_animate_glob.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/geomview/patches/patch-src_bin_animate_glob.c b/graphics/geomview/patches/patch-src_bin_animate_glob.c
new file mode 100644
index 00000000000..d36fdf2ecdd
--- /dev/null
+++ b/graphics/geomview/patches/patch-src_bin_animate_glob.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_bin_animate_glob.c,v 1.1 2013/03/02 18:09:30 joerg Exp $
+
+--- src/bin/animate/glob.c.orig 2013-03-01 21:51:25.000000000 +0000
++++ src/bin/animate/glob.c
+@@ -38,6 +38,7 @@ static char sccsid[] = "@(#)glob.c 5.7 (
+ #include <stdio.h>
+ #include <errno.h>
+ #include <pwd.h>
++#include <string.h>
+
+ #if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__)
+ #define dirfd(dirp) ((dirp)->dd_fd)