summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils/dumplibs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index 9a7f42c0c..b53a6c753 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -32,10 +32,12 @@ PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
PRAGMACLANG6(GCC diagnostic pop)
#include <SDL_ttf.h>
+#ifdef USE_PHYSFS
PRAGMA45(GCC diagnostic push)
PRAGMA45(GCC diagnostic ignored "-Wlong-long")
#include <physfs.h>
PRAGMA45(GCC diagnostic pop)
+#endif // USE_PHYSFS
#include <zlib.h>
#include <curl/curl.h>