summaryrefslogtreecommitdiff
path: root/devel/nbitools/patches/patch-ag
blob: 17fdcac4acd4d8251b0d4eea9766c2ef2e431e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.2 2004/12/28 10:30:58 minskim Exp $

--- config/imake/imake.c.orig	2002-02-13 10:32:00.000000000 -0600
+++ config/imake/imake.c
@@ -145,7 +145,7 @@ in this Software without prior written a
  *	#include INCLUDE_IMAKEFILE
  *	<add any global targets like 'clean' and long dependencies>
  */
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__linux__)
 /* This needs to be before _POSIX_SOURCE gets defined */
 # include <sys/param.h>
 # include <sys/types.h>