mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
474 B
C
16 lines
474 B
C
$NetBSD: patch-core_logging.c,v 1.1 2015/04/06 02:35:54 rodent Exp $
|
|
|
|
Fix build for OpenBSD and Bitrig.
|
|
|
|
--- core/logging.c.orig 2015-03-17 07:34:34.000000000 +0000
|
|
+++ core/logging.c
|
|
@@ -13,7 +13,7 @@
|
|
#define _FILE_OFFSET_BITS 64
|
|
#endif
|
|
|
|
-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__Bitrig__)
|
|
#include <sys/sysctl.h>
|
|
#endif
|
|
|