pkgsrc-wip/dmd/patches/patch-am

14 lines
417 B
Plaintext

$NetBSD: patch-am,v 1.1.1.1 2011/02/16 17:10:41 thomasklausner Exp $
--- src/dmd/backend/machobj.c.orig 2010-12-20 20:02:36.000000000 +0000
+++ src/dmd/backend/machobj.c
@@ -21,7 +21,7 @@
#include <malloc.h>
#endif
-#if linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4
+#if linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4 || __NetBSD__
#include <signal.h>
#include <unistd.h>
#endif