1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/sysutils/metalog/files/patch-src__metalog.c
2014-03-01 20:19:51 +00:00

13 lines
340 B
C

--- ./src/metalog.c.orig 2013-10-29 09:50:12.000000000 -0400
+++ ./src/metalog.c 2013-10-29 09:52:28.000000000 -0400
@@ -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];