summaryrefslogtreecommitdiff
path: root/audio/faac/patches/patch-aa
blob: 679058e2c4f988423a144fdf457269533255bb54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.2 2004/12/28 23:02:10 minskim Exp $

--- frontend/main.c.orig	2004-05-16 03:43:03.000000000 +0200
+++ frontend/main.c	2004-05-16 03:44:22.000000000 +0200
@@ -39,11 +39,16 @@
 #include <windows.h>
 #include <fcntl.h>
 #else
+#include <sys/param.h>
 #include <signal.h>
 #endif
 
-#if defined(__unix__) || defined(__APPLE__)
+#if defined(__unix__) || defined(BSD) || defined(__APPLE__)
+#ifdef __NetBSD__
+#include <time.h>
+#else
 #include <sys/time.h>
+#endif
 #include <sys/resource.h>
 #include <unistd.h>
 #endif