summaryrefslogtreecommitdiff
path: root/hostmux/hostmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'hostmux/hostmux.h')
-rw-r--r--hostmux/hostmux.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/hostmux/hostmux.h b/hostmux/hostmux.h
index 10170002..98ef04ac 100644
--- a/hostmux/hostmux.h
+++ b/hostmux/hostmux.h
@@ -24,6 +24,13 @@
#include <hurd/netfs.h>
#include <rwlock.h>
#include <maptime.h>
+#include <features.h>
+
+#ifdef HOSTMUX_DEFINE_EI
+#define HOSTMUX_EI
+#else
+#define HOSTMUX_EI __extern_inline
+#endif
/* Handy source of time. */
volatile struct mapped_time_value *hostmux_maptime;
@@ -85,8 +92,4 @@ struct netnode
struct hostmux_name *name;
};
-#ifndef HOSTMUX_EI
-# define HOSTMUX_EI extern inline
-#endif
-
#endif /* __HOSTMUX_H__ */