summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-06-07 03:09:16 +0000
committerRich Felker <dalias@aerifal.cx>2015-06-07 03:09:16 +0000
commit32f3c4f70633488550c29a2444f819aafdf345ff (patch)
tree713ad277c73a260348590d16983f182c9912135d /src/internal
parent04b8360adbb6487f61aa0c00e53ec3a90a5a0d29 (diff)
downloadmusl-32f3c4f70633488550c29a2444f819aafdf345ff.tar.gz
musl-32f3c4f70633488550c29a2444f819aafdf345ff.tar.bz2
musl-32f3c4f70633488550c29a2444f819aafdf345ff.tar.xz
musl-32f3c4f70633488550c29a2444f819aafdf345ff.zip
add multiple inclusion guard to locale_impl.h
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/locale_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/locale_impl.h b/src/internal/locale_impl.h
index db915ca2..85db7933 100644
--- a/src/internal/locale_impl.h
+++ b/src/internal/locale_impl.h
@@ -1,3 +1,6 @@
+#ifndef _LOCALE_IMPL_H
+#define _LOCALE_IMPL_H
+
#include <locale.h>
#include <stdlib.h>
#include "libc.h"
@@ -30,3 +33,5 @@ const char *__lctrans_cur(const char *);
#define CURRENT_LOCALE (__pthread_self()->locale)
#define CURRENT_UTF8 (!!__pthread_self()->locale->cat[LC_CTYPE])
+
+#endif