diff --git a/kernels.h b/kernels.h
new file mode 100644
index 00000000..479cfdf0
--- /dev/null
+++ b/kernels.h
@@ -0,0 +1,6 @@
+#define ALEXKARNEW_KERNNAME "alexkarnew"
+#define ALEXKAROLD_KERNNAME "alexkarold"
+#define CKOLIVAS_KERNNAME "ckolivas"
+#define ZUIKKIS_KERNNAME "zuikkis"
+#define PSW_KERNNAME "psw"
+#define NSCRYPT_KERNNAME "nscrypt"
\ No newline at end of file
diff --git a/winbuild/dist/include/config.h b/winbuild/dist/include/config.h
index 0c1a071a..dc6092e2 100644
--- a/winbuild/dist/include/config.h
+++ b/winbuild/dist/include/config.h
@@ -3,13 +3,6 @@
#define HAVE_STDINT_H
-#define ALEXKARNEW_KERNNAME "alexkarnew"
-#define ALEXKAROLD_KERNNAME "alexkarold"
-#define CKOLIVAS_KERNNAME "ckolivas"
-#define ZUIKKIS_KERNNAME "zuikkis"
-#define PSW_KERNNAME "psw"
-#define NSCRYPT_KERNNAME "nscrypt"
-
#if defined(_MSC_VER)
#define HAVE_LIBCURL 1
@@ -84,6 +77,7 @@
#define SGMINER_PREFIX ""
+#include "kernels.h"
#include "gitversion.h"
#include "winbuild.h"
diff --git a/winbuild/sgminer.vcxproj b/winbuild/sgminer.vcxproj
index fc95e6c1..7e59b595 100644
--- a/winbuild/sgminer.vcxproj
+++ b/winbuild/sgminer.vcxproj
@@ -280,6 +280,7 @@ exit 0
+
diff --git a/winbuild/sgminer.vcxproj.filters b/winbuild/sgminer.vcxproj.filters
index 0ed5cb60..29250318 100644
--- a/winbuild/sgminer.vcxproj.filters
+++ b/winbuild/sgminer.vcxproj.filters
@@ -163,6 +163,9 @@
Header Files
+
+ Header Files
+