about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/ia64/bits/sigstack.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d65ecd8b1..58400d187b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
+	inclusion.  Patch by Jes Sorensen <jes@linuxcare.com>.
+
 	* locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
 	to avoid crashing statically linked applications.
 
diff --git a/sysdeps/unix/sysv/linux/ia64/bits/sigstack.h b/sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
index 1894dab86e..bff84bd475 100644
--- a/sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
+++ b/sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
@@ -21,6 +21,9 @@
 # error "Never include this file directly.  Use <signal.h> instead"
 #endif
 
+#ifndef _SIGSTACK_H
+#define _SIGSTACK_H	1
+
 /* Structure describing a signal stack (obsolete).  */
 struct sigstack
   {
@@ -52,3 +55,5 @@ typedef struct sigaltstack
     int ss_flags;
     size_t ss_size;
   } stack_t;
+
+#endif	/* bits/sigstack.h */