diff --git a/compat/compat.c b/compat/compat.c
index 81c8290561..5f3920e597 100644
--- a/compat/compat.c
+++ b/compat/compat.c
@@ -13,7 +13,7 @@
* If not, see .
*/
-#include "getopt_ssnes.h"
+#include "getopt_rarch.h"
#include "strl.h"
#include "posix_string.h"
diff --git a/compat/getopt_ssnes.h b/compat/getopt_rarch.h
similarity index 100%
rename from compat/getopt_ssnes.h
rename to compat/getopt_rarch.h
diff --git a/console/test.c b/console/test.c
index e2897c88bc..b1192a9c39 100644
--- a/console/test.c
+++ b/console/test.c
@@ -17,7 +17,7 @@
// Reruns RetroArch main loop with all roms defined on command-line
// to check if libsnes can load multiple roms after each other.
-#include "../getopt_ssnes.h"
+#include "../getopt_rarch.h"
#include "../general.h"
#include
diff --git a/retroarch.c b/retroarch.c
index c6d5ab3c4b..31906446d2 100644
--- a/retroarch.c
+++ b/retroarch.c
@@ -31,7 +31,7 @@
#include "compat/strl.h"
#include "screenshot.h"
#include "cheats.h"
-#include "compat/getopt_ssnes.h"
+#include "compat/getopt_rarch.h"
#if defined(_WIN32) && !defined(_XBOX)
#define WIN32_LEAN_AND_MEAN