$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 */