summaryrefslogtreecommitdiff
path: root/ndb/examples/ndbapi_scan_example/ndbapi_scan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/examples/ndbapi_scan_example/ndbapi_scan.cpp')
-rw-r--r--ndb/examples/ndbapi_scan_example/ndbapi_scan.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/ndb/examples/ndbapi_scan_example/ndbapi_scan.cpp b/ndb/examples/ndbapi_scan_example/ndbapi_scan.cpp
index 186afdb9471..7c3a66326c6 100644
--- a/ndb/examples/ndbapi_scan_example/ndbapi_scan.cpp
+++ b/ndb/examples/ndbapi_scan_example/ndbapi_scan.cpp
@@ -85,21 +85,13 @@
*/
+#include <ndb_global.h>
+
#include <NdbApi.hpp>
#include <NdbScanFilter.hpp>
// Used for cout
#include <iostream>
-#ifdef SOLARIS
-#include <sys/types.h>
-#include <unistd.h>
-#endif
-
-#if defined LINUX || defined MACOSX
-#include <time.h>
-#include <unistd.h>
-#endif
-
/**
* Helper sleep function
*/