aboutsummaryrefslogtreecommitdiff
path: root/hurd/hurd.h
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/hurd.h')
-rw-r--r--hurd/hurd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hurd/hurd.h b/hurd/hurd.h
index 2e078c1966..077e5b191b 100644
--- a/hurd/hurd.h
+++ b/hurd/hurd.h
@@ -43,7 +43,11 @@
#include <errno.h>
-_EXTERN_INLINE int
+#ifndef _HURD_H_EXTERN_INLINE
+#define _HURD_H_EXTERN_INLINE extern __inline
+#endif
+
+_HURD_H_EXTERN_INLINE int
__hurd_fail (error_t err)
{
switch (err)