summaryrefslogtreecommitdiff
path: root/games/gnome2-games/patches/patch-aa
blob: b7a5a98f7b1143d20880976ac9c4c04831370bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.1.1.1 2003/04/21 02:28:57 rh Exp $

--- freecell/gdk-card-image/gdk-card-image.c.orig	2003-02-26 03:47:17.000000000 +1000
+++ freecell/gdk-card-image/gdk-card-image.c
@@ -30,7 +30,8 @@
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
-#ifdef __FreeBSD__
+#include <sys/param.h>
+#if (defined(BSD) && BSD >= 199306)
 #include <dirent.h>
 #endif
 #if defined HAVE_SYS_DIRENT_H