Index: src/bin/animate/glob.c
--- src/bin/animate/glob.c.orig
+++ src/bin/animate/glob.c
@@ -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__) && !defined(__APPLE__)
+#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__CYGWIN__) && !defined(__APPLE__)
 #define dirfd(dirp)  ((dirp)->dd_fd)
 #endif
 
