diff --git a/src/namegen.cpp b/src/namegen.cpp
index 26b1171268..3027e920bc 100644
--- a/src/namegen.cpp
+++ b/src/namegen.cpp
@@ -5,7 +5,7 @@
 #include "stdafx.h"
 #include "openttd.h"
 #include "debug.h"
-#include "namegen.h"
+#include "namegen_func.h"
 #include "string_func.h"
 
 #include "table/namegen.h"
diff --git a/src/namegen.h b/src/namegen_func.h
similarity index 100%
rename from src/namegen.h
rename to src/namegen_func.h
diff --git a/src/strings.cpp b/src/strings.cpp
index f6af868314..aa62e30d7b 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -5,7 +5,7 @@
 #include "stdafx.h"
 #include "openttd.h"
 #include "currency.h"
-#include "namegen.h"
+#include "namegen_func.h"
 #include "station.h"
 #include "town.h"
 #include "screenshot.h"