28 lines
731 B
Text
28 lines
731 B
Text
$NetBSD: patch-aa,v 1.1 2005/12/08 17:46:16 joerg Exp $
|
|
|
|
--- config.h.orig 2005-12-08 17:41:53.000000000 +0000
|
|
+++ config.h
|
|
@@ -169,12 +169,13 @@ int getrusage(int who, struct rusage *ru
|
|
#define PATH_SYSLOG "/private/var/log/system.log"
|
|
#endif
|
|
|
|
-#ifdef FREEBSD
|
|
+#if defined(__FreeBSD__) || defined(__DragonFly__)
|
|
#define HAVE_GETRUSAGE
|
|
/* not yet supported */
|
|
#define O_RSYNC 0
|
|
#ifndef O_SYNC
|
|
#define O_SYNC O_FSYNC
|
|
+#endif
|
|
#define PATH_TMP "/tmp"
|
|
#define PATH_VAR_TMP "/var/tmp"
|
|
#define PATH_PASSWD "/etc/passwd"
|
|
@@ -183,8 +184,6 @@ int getrusage(int who, struct rusage *ru
|
|
#define PATH_SYSLOG "/var/log/messages"
|
|
#endif
|
|
|
|
-#endif
|
|
-
|
|
#ifdef NEXTSTEP
|
|
#define HAVE_GETRUSAGE
|
|
/* not supported */
|