diff --git a/obs/obs-app.cpp b/obs/obs-app.cpp
index 2ba8b6d0d..ab9691a93 100644
--- a/obs/obs-app.cpp
+++ b/obs/obs-app.cpp
@@ -15,7 +15,6 @@
along with this program. If not, see .
******************************************************************************/
-#include
#include
#include
#include
@@ -293,6 +292,7 @@ int main(int argc, char *argv[])
blog(LOG_ERROR, "%s", error);
}
- blog(LOG_INFO, "Number of memory leaks: %" PRIu64, bnum_allocs());
+ blog(LOG_INFO, "Number of memory leaks: %llu",
+ (unsigned long long int)bnum_allocs());
return ret;
}