summaryrefslogtreecommitdiff
path: root/www/apache/patches/patch-am
blob: e8f887eb47004afe963f07d1ca4b58a7c480955c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-am,v 1.6 2002/03/28 17:17:08 thorpej Exp $

--- src/include/ap_config.h.orig	Thu Mar 28 08:43:24 2002
+++ src/include/ap_config.h	Thu Mar 28 09:01:18 2002
@@ -1359,7 +1359,7 @@
  * 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