summaryrefslogtreecommitdiff
path: root/devel/bmake
diff options
context:
space:
mode:
authorjoerg <joerg>2013-10-14 23:19:09 +0000
committerjoerg <joerg>2013-10-14 23:19:09 +0000
commit6a7985c9b38c2d4cfeb735a3203f087da1fc1b09 (patch)
tree93b36c706c91e7f23e850dcf8a5b0d7105aef937 /devel/bmake
parentef886411f78dd31b5f01eeb6bb269f85dfb2743d (diff)
downloadpkgsrc-6a7985c9b38c2d4cfeb735a3203f087da1fc1b09.tar.gz
Workaround for bad Linux headers.
Diffstat (limited to 'devel/bmake')
-rw-r--r--devel/bmake/files/util.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/bmake/files/util.c b/devel/bmake/files/util.c
index 39f656aef06..eda51968ba4 100644
--- a/devel/bmake/files/util.c
+++ b/devel/bmake/files/util.c
@@ -1,22 +1,26 @@
-/* $NetBSD: util.c,v 1.11 2013/09/08 16:32:14 ryoon Exp $ */
+/* $NetBSD: util.c,v 1.12 2013/10/14 23:19:09 joerg Exp $ */
/*
* Missing stuff from OS's
*
- * $Id: util.c,v 1.11 2013/09/08 16:32:14 ryoon Exp $
+ * $Id: util.c,v 1.12 2013/10/14 23:19:09 joerg Exp $
*/
-/* workaround for EasyMiNT 1.70 and 1.83 */
-#if defined(__MINT__)
+/*
+ * Workaround for EasyMiNT 1.70 and 1.83.
+ * Also needed on Linux systems where sys/ucontext.h sometimes uses __unused
+ * as field name.
+ */
+#if defined(__MINT__) || defined(__linux__)
#include <signal.h>
#endif
#include "make.h"
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: util.c,v 1.11 2013/09/08 16:32:14 ryoon Exp $";
+static char rcsid[] = "$NetBSD: util.c,v 1.12 2013/10/14 23:19:09 joerg Exp $";
#else
#ifndef lint
-__RCSID("$NetBSD: util.c,v 1.11 2013/09/08 16:32:14 ryoon Exp $");
+__RCSID("$NetBSD: util.c,v 1.12 2013/10/14 23:19:09 joerg Exp $");
#endif
#endif