pkgsrc/games/crossfire-srv/patches/patch-ad
joerg 3741be15fc dmalloc.h MUST be included after unistd.h on DragonFly, since it
messes with compat function names.
Fix errno.
Use bzip2 to extract a bzipped file, it works somehow better than
gzip.
2005-12-29 17:41:27 +00:00

23 lines
415 B
Text

$NetBSD: patch-ad,v 1.1 2005/12/29 17:41:27 joerg Exp $
--- include/includes.h.orig 2005-12-29 16:56:01.000000000 +0000
+++ include/includes.h
@@ -72,14 +72,14 @@
#include <fcntl.h>
#endif
-#ifdef HAVE_LIBDMALLOC
-#include <dmalloc.h>
-#endif
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_LIBDMALLOC
+#include <dmalloc.h>
+#endif
+
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif