fix optimized build
authorRobin Gareus <robin@gareus.org>
Sat, 19 Mar 2016 16:14:23 +0000 (17:14 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 19 Mar 2016 16:14:23 +0000 (17:14 +0100)
libs/pbd/reallocpool.cc

index 529e34a2159c4046e3f5a2070f978bb8291c6266..d707aa75cb08542a454f58dbbcc09c16fb3cdb88 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <cstdio>
 
 #ifndef PLATFORM_WINDOWS
 #include <sys/mman.h>
 
 #include "pbd/reallocpool.h"
 
-#if defined RAP_WITH_SEGMENT_STATS || defined RAP_WITH_CALL_STATS
-#include <cstdio>
-#endif
-
 #ifdef RAP_WITH_SEGMENT_STATS
 #define STATS_segment collect_segment_stats();
 #else