about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/powerpc/pt-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/powerpc/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/powerpc/pt-machine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/powerpc/pt-machine.h b/linuxthreads/sysdeps/powerpc/pt-machine.h
index bac2491243..f278ac2ce5 100644
--- a/linuxthreads/sysdeps/powerpc/pt-machine.h
+++ b/linuxthreads/sysdeps/powerpc/pt-machine.h
@@ -21,6 +21,9 @@
 /* These routines are from Appendix G of the 'PowerPC 601 RISC Microprocessor
    User's Manual', by IBM and Motorola.  */
 
+#ifndef _PT_MACHINE_H
+#define _PT_MACHINE_H   1
+
 #ifndef PT_EI
 # define PT_EI extern inline
 #endif
@@ -86,3 +89,5 @@ __compare_and_swap_with_release_semantics (long int *p,
 	: "cr0", "memory");
   return ret == 0;
 }
+
+#endif /* pt-machine.h */