From 32f3c4f70633488550c29a2444f819aafdf345ff Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 7 Jun 2015 03:09:16 +0000 Subject: add multiple inclusion guard to locale_impl.h --- src/internal/locale_impl.h | 5 +++++ 1 file changed, 5 insertions(+) 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 #include #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 -- cgit v1.2.1