aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/start.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/start.c')
-rw-r--r--sysdeps/mach/start.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/start.c b/sysdeps/mach/start.c
index c2ea3e3b7b..b1d121eb75 100644
--- a/sysdeps/mach/start.c
+++ b/sysdeps/mach/start.c
@@ -29,7 +29,9 @@ Cambridge, MA 02139, USA. */
/* The first piece of initialized data. */
int __data_start = 0;
+#ifndef _HURD_THREADVAR_H
volatile int errno;
+#endif
extern void __mach_init (void);
extern void __libc_init (int argc, char **argv, char **envp);
@@ -62,6 +64,7 @@ start1 (void)
#ifndef START_ARGS
#define START_ARGS void
+#endif
#ifdef START_MACHDEP
START_MACHDEP
#define _start _start0