opnsense-ports/sysutils/metalog/files/patch-src__metalog.c
Franco Fichtner 825f355b00 */*: sync with upstream
Taken from: FreeBSD
2016-03-29 10:25:39 +02:00

12 lines
288 B
C

--- src/metalog.c.orig 2012-08-18 16:19:00 UTC
+++ src/metalog.c
@@ -6,6 +6,9 @@
#ifdef WITH_DMALLOC
# include <dmalloc.h>
#endif
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#define fflush_unlocked fflush
+#endif
static int spawn_recursion = 0;
static int dolog_queue[2];