Added missing assert.h to util.h.
authorWouter van Oortmerssen <wvo@google.com>
Mon, 15 Sep 2014 23:27:21 +0000 (16:27 -0700)
committerWouter van Oortmerssen <wvo@google.com>
Mon, 15 Sep 2014 23:27:21 +0000 (16:27 -0700)
This was only causing compiler errors on certain compiler configurations.

Change-Id: I110fb8c896f74aae7ef739e9a29c636393dbbde2
Tested: on Linux and Windows.

include/flatbuffers/util.h

index 4292c5a..b6bc78a 100644 (file)
@@ -22,6 +22,7 @@
 #include <string>
 #include <sstream>
 #include <stdlib.h>
+#include <assert.h>
 #ifdef _WIN32
 #include <direct.h>
 #else