summaryrefslogtreecommitdiff
path: root/graphics/geomview/files/patch-src_bin_animate_glob.c
blob: baf2126bb94a9bc4bc79e51100622109e4a5550e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/bin/animate/glob.c.orig	2014-03-12 16:51:10 UTC
+++ src/bin/animate/glob.c
@@ -41,7 +41,9 @@ static char sccsid[] = "@(#)glob.c	5.7 (
 #include <errno.h>
 #include <pwd.h>
 
-#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__CYGWIN__) && !defined(__APPLE__)
+#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && \
+    !defined(__FreeBSD__) && !defined(__CYGWIN__) && !defined(__APPLE__) && \
+    !defined(__DragonFly__)
 #define dirfd(dirp)  ((dirp)->dd_fd)
 #endif