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
commit962b9acbd2f91b68e2c32aca58fc8624f027b376 (patch)
tree93b36c706c91e7f23e850dcf8a5b0d7105aef937 /devel/bmake
parent68c57ecba44825b51d5e0b543e79c53d57a5eee7 (diff)
downloadpkgsrc-962b9acbd2f91b68e2c32aca58fc8624f027b376.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