about summary refs log tree commit diff
path: root/sysdeps/mach/i386/thread_state.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-02-16 15:16:33 -0800
committerRoland McGrath <roland@redhat.com>2011-02-16 15:16:33 -0800
commit8e31c82dbd7dad4d33b35d242b5a990f1168a859 (patch)
treed82034bf75dae28e49bc41de02a966be461f4343 /sysdeps/mach/i386/thread_state.h
parentf75286c6968af12697f63ca60b2599478fd2c8f1 (diff)
downloadglibc-8e31c82dbd7dad4d33b35d242b5a990f1168a859.tar.gz
glibc-8e31c82dbd7dad4d33b35d242b5a990f1168a859.tar.xz
glibc-8e31c82dbd7dad4d33b35d242b5a990f1168a859.zip
Add multiple inclusion protection to some Mach/i386 internal headers.
Diffstat (limited to 'sysdeps/mach/i386/thread_state.h')
-rw-r--r--sysdeps/mach/i386/thread_state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/mach/i386/thread_state.h b/sysdeps/mach/i386/thread_state.h
index cefea2cfb6..e8fdef6e57 100644
--- a/sysdeps/mach/i386/thread_state.h
+++ b/sysdeps/mach/i386/thread_state.h
@@ -17,6 +17,9 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#ifndef _MACH_I386_THREAD_STATE_H
+#define _MACH_I386_THREAD_STATE_H 1
+
 #include <mach/machine/thread_status.h>
 
 #define MACHINE_THREAD_STATE_FLAVOR	i386_THREAD_STATE
@@ -36,3 +39,5 @@ struct machine_thread_all_state
   };
 
 #include <sysdeps/mach/thread_state.h>
+
+#endif /* mach/i386/thread_state.h */