summaryrefslogtreecommitdiff
path: root/www/apache/patches/patch-am
blob: f7343456e956c6413578a7990eca5fd5b5c98b5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-am,v 1.7 2004/10/29 13:48:31 abs Exp $

--- src/include/ap_config.h.orig	2004-09-16 00:45:17.000000000 +0100
+++ src/include/ap_config.h
@@ -1304,7 +1304,7 @@ extern int ap_execve(const char *filenam
  * so we don't have to.  Sigh...
  */
 
-#if defined(CRAY) || (defined(__arm) && !defined(LINUX))
+#if defined(CRAY) || (defined(__arm) && !(defined(LINUX) || defined(NETBSD)))
 #ifdef __STDC__
 #define XtOffset(p_type,field) _Offsetof(p_type,field)
 #else