25 lines
818 B
Plaintext
25 lines
818 B
Plaintext
$NetBSD: patch-am,v 1.9 2008/02/23 05:16:34 obache Exp $
|
|
|
|
--- src/include/ap_config.h.orig 2006-07-12 08:16:05.000000000 +0000
|
|
+++ src/include/ap_config.h
|
|
@@ -700,8 +700,8 @@ extern char *crypt();
|
|
#undef NO_SETSID
|
|
#define HAVE_SYSLOG 1
|
|
|
|
-#elif defined(__FreeBSD__) || defined(__bsdi__)
|
|
-#if defined(__FreeBSD__)
|
|
+#elif defined(__FreeBSD__) || defined(__bsdi__) || defined(__DragonFly__)
|
|
+#if defined(__FreeBSD__) || defined(__DragonFly__)
|
|
#include <osreldate.h>
|
|
#endif
|
|
#define HAVE_GMTOFF 1
|
|
@@ -1305,7 +1305,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
|