summaryrefslogtreecommitdiff
path: root/ndb/examples
diff options
context:
space:
mode:
authortomas@mc05.(none) <>2004-05-07 15:34:12 +0200
committertomas@mc05.(none) <>2004-05-07 15:34:12 +0200
commitb80278106483583c55cd32173e6a75d8797b21d0 (patch)
tree106e42966993a3fd996589bf67056ba588d30866 /ndb/examples
parent18f6340f639c662d82e89d59b820f7a1a14c11d4 (diff)
downloadmariadb-git-b80278106483583c55cd32173e6a75d8797b21d0.tar.gz
more removing of "system" files and introducing ndb_global/my_global
Diffstat (limited to 'ndb/examples')
-rw-r--r--ndb/examples/ndbapi_async_example/ndbapi_async.cpp12
-rw-r--r--ndb/examples/ndbapi_scan_example/ndbapi_scan.cpp12
2 files changed, 4 insertions, 20 deletions
diff --git a/ndb/examples/ndbapi_async_example/ndbapi_async.cpp b/ndb/examples/ndbapi_async_example/ndbapi_async.cpp
index 685c853c5d5..7abebcc832d 100644
--- a/ndb/examples/ndbapi_async_example/ndbapi_async.cpp
+++ b/ndb/examples/ndbapi_async_example/ndbapi_async.cpp
@@ -63,20 +63,12 @@
*/
+#include <ndb_global.h>
+
#include <NdbApi.hpp>
#include <NdbScanFilter.hpp>
#include <iostream> // Used for cout
-#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
*/
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
*/