ports/graphics/geomview/patches/patch-src_bin_animate_glob_c

12 lines
527 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- src/bin/animate/glob.c.orig Fri Mar 23 14:28:53 2012
+++ src/bin/animate/glob.c Fri Mar 23 14:29:26 2012
@@ -41,7 +41,7 @@ static char sccsid[] = "@(#)glob.c 5.7 (Berkeley) 12/1
#include <errno.h>
#include <pwd.h>
-#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__CYGWIN__)
+#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__CYGWIN__)
#define dirfd(dirp) ((dirp)->dd_fd)
#endif