aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-29 13:30:01 +0800
committerpeter <peter@FreeBSD.org>1999-12-29 13:30:01 +0800
commitb6208c478357ae49f6a660846ad1a19471b69325 (patch)
tree0e48ee9592f070250eca6790be08dfdcd21154ec
parent77a64b3748d3b9d9794c6264049c995279228a68 (diff)
downloadfreebsd-ports-gnome-b6208c478357ae49f6a660846ad1a19471b69325.tar.gz
freebsd-ports-gnome-b6208c478357ae49f6a660846ad1a19471b69325.tar.zst
freebsd-ports-gnome-b6208c478357ae49f6a660846ad1a19471b69325.zip
Add #define _KERNEL around #include of <sys/errno.h> - this is to avoid
the C-style externs in this assembler file. (!)
-rw-r--r--devel/linuxthreads/files/clone.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/linuxthreads/files/clone.S b/devel/linuxthreads/files/clone.S
index 52e80d6da646..51e7560446b0 100644
--- a/devel/linuxthreads/files/clone.S
+++ b/devel/linuxthreads/files/clone.S
@@ -3,7 +3,9 @@
#include "DEFS.h"
#include "SYS.h"
#define KERNEL
+#define _KERNEL
#include <sys/errno.h>
+#undef _KERNEL
#undef KERNEL
#undef DEBUG