aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd/port.h1
-rw-r--r--hurd/hurd/userlink.h6
2 files changed, 5 insertions, 2 deletions
diff --git a/hurd/hurd/port.h b/hurd/hurd/port.h
index eec85cc..0779578 100644
--- a/hurd/hurd/port.h
+++ b/hurd/hurd/port.h
@@ -24,7 +24,6 @@
#include <mach.h>
#include <hurd/userlink.h>
#include <spin-lock.h>
-#include <hurd/signal.h>
/* Structure describing a cell containing a port. With the lock held, a
diff --git a/hurd/hurd/userlink.h b/hurd/hurd/userlink.h
index fb7cab2..f936255 100644
--- a/hurd/hurd/userlink.h
+++ b/hurd/hurd/userlink.h
@@ -24,7 +24,11 @@
#define __need_NULL
#include <stddef.h>
-#include <hurd/signal.h>
+#if defined __USE_EXTERN_INLINES && defined _LIBC
+# if IS_IN (libc)
+# include <hurd/signal.h>
+# endif
+#endif
#include <setjmp.h>