diff --git a/src/gettext.h b/src/gettext.h
index 790375165a899e70ecf86e9cfa1cc19daa1d83d8..a42820a15d1a28473d4983da1c67d27277b937cb 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -1,3 +1,4 @@
+#ifndef GETTEXT_HEADER
 #include "config.h" // for USE_GETTEXT
 
 #if USE_GETTEXT
@@ -35,3 +36,5 @@ inline void changeCtype(const char *l)
 	else
 		std::cout<<"locale has been set to:"<<ret<<std::endl;
 }
+#define GETTEXT_HEADER
+#endif