about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-27 04:09:19 +0000
committerRoland McGrath <roland@gnu.org>2000-03-27 04:09:19 +0000
commit54f6cbb3795fbc9c65965a88e3cd2a60d05acc6d (patch)
tree986be160490767418a4fb135f5ce039b5edb30fc /sysdeps/mach/hurd
parent1c479f72fe717105a809d744e0dcab3608a949d5 (diff)
downloadglibc-54f6cbb3795fbc9c65965a88e3cd2a60d05acc6d.tar.gz
glibc-54f6cbb3795fbc9c65965a88e3cd2a60d05acc6d.tar.xz
glibc-54f6cbb3795fbc9c65965a88e3cd2a60d05acc6d.zip
* sysdeps/mach/sys/reboot.h: Include <features.h>.
	(reboot): Declare it.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/bits/stdio-lock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/stdio-lock.h b/sysdeps/mach/hurd/bits/stdio-lock.h
index 1f67542c42..ed55c96fd9 100644
--- a/sysdeps/mach/hurd/bits/stdio-lock.h
+++ b/sysdeps/mach/hurd/bits/stdio-lock.h
@@ -50,13 +50,14 @@ typedef struct _IO_cthreads_lock _IO_lock_t;
 #define _IO_lock_lock(_name) __libc_lock_lock ((_name).mutex)
 #define _IO_lock_unlock(_name) __libc_lock_unlock ((_name).mutex)
 
-
+#ifdef _LIBC
 #include <bits/libc-lock.h>
 
 #define _IO_cleanup_region_start(_fct, _fp) \
      __libc_cleanup_region_start (_fct, _fp)
 #define _IO_cleanup_region_end(_doit) \
      __libc_cleanup_region_end (_doit)
+#endif
 
 
 #endif /* bits/stdio-lock.h */