Add multiple-inclusion guard.
[pspp] / lib / lock.h
index f82e4a32f0a8b90209528511b9a82bf07cd5a701..be99139dce7a9e787d5c05564cbe0e38fa950928 100644 (file)
@@ -59,6 +59,9 @@
 */
 
 
+#ifndef _LOCK_H
+#define _LOCK_H
+
 /* ========================================================================= */
 
 #if USE_POSIX_THREADS
@@ -792,3 +795,7 @@ typedef int gl_once_t;
     while (0)
 
 #endif
+
+/* ========================================================================= */
+
+#endif /* _LOCK_H */