diff --git a/libresapi/src/api/json.cpp b/libresapi/src/api/json.cpp
index 16f238f39..82c598341 100644
--- a/libresapi/src/api/json.cpp
+++ b/libresapi/src/api/json.cpp
@@ -19,7 +19,6 @@
* along with this program. If not, see . *
* *
*******************************************************************************/
-#define nullptr 0
#include "json.h"
#include
@@ -33,6 +32,7 @@
#include
#include
#include
+#include "util/cxx11retrocompat.h"
#ifndef WIN32
#define _stricmp strcasecmp