summaryrefslogtreecommitdiff
path: root/audio/alsa-lib/patches/patch-ad
blob: dd35627bd9ecfe9a694cf7940719a4b991d0823d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.2 2008/12/25 13:18:00 hasso Exp $

--- include/global.h.orig	2008-10-29 08:42:10.000000000 -0400
+++ include/global.h
@@ -133,7 +133,7 @@ int snd_shm_area_destroy(struct snd_shm_
 
 int snd_user_file(const char *file, char **result);
 
-#if !defined(_POSIX_C_SOURCE) && !defined(_POSIX_SOURCE)
+#if !defined(_POSIX_C_SOURCE) && !defined(_POSIX_SOURCE) && !defined(__NetBSD__) && !defined(__DragonFly__)
 struct timeval {
 	time_t		tv_sec;		/* seconds */
 	long		tv_usec;	/* microseconds */