summaryrefslogtreecommitdiff
path: root/hurd/hurd/fd.h
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/hurd/fd.h')
-rw-r--r--hurd/hurd/fd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/hurd/hurd/fd.h b/hurd/hurd/fd.h
index d27be21cfd..273406fbf8 100644
--- a/hurd/hurd/fd.h
+++ b/hurd/hurd/fd.h
@@ -21,8 +21,6 @@
#define _HURD_FD_H 1
#include <features.h>
-#include <cthreads.h>
-
#include <hurd/hurd_types.h>
#include <hurd/port.h>
#include <sys/socket.h>
@@ -47,9 +45,12 @@ struct hurd_fd
/* Current file descriptor table. */
+#if defined __USE_EXTERN_INLINES && defined _LIBC
+#include <lock-intern.h>
extern int _hurd_dtablesize;
extern struct hurd_fd **_hurd_dtable;
extern struct mutex _hurd_dtable_lock; /* Locks those two variables. */
+#endif
#include <hurd/signal.h>