summaryrefslogtreecommitdiff
path: root/emulators/sdlmame/patches/patch-ae
blob: 2b024208e56ca11763a2aec3838b436d6047baae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ae,v 1.1.1.1 2009/01/18 16:02:17 wiz Exp $

--- src/osd/sdl/sdldir.c.orig	2007-09-23 01:06:04.000000000 +0200
+++ src/osd/sdl/sdldir.c
@@ -28,6 +28,9 @@
 #define __USE_BSD	// to get DT_xxx on Linux
 #endif
 #undef _POSIX_C_SOURCE  // to get DT_xxx on OS X
+#if defined(__NetBSD__)
+#define _NETBSD_SOURCE  // to get DT_xxx on NetBSD
+#endif
 #include <dirent.h>
 
 #include "osdcore.h"