summaryrefslogtreecommitdiff
path: root/ndb/src/cw/cpcd
diff options
context:
space:
mode:
authorunknown <tomas@mc05.(none)>2004-05-07 08:39:42 +0200
committerunknown <tomas@mc05.(none)>2004-05-07 08:39:42 +0200
commitfb6fd48f5d6ba2eba973caaec9cefa8763dd9067 (patch)
tree3ab627029960d3dc4eecaa863f6cac3d29c87ac0 /ndb/src/cw/cpcd
parent5b3a9ccc6baeb273b923037a51f46d4c88af2c68 (diff)
downloadmariadb-git-fb6fd48f5d6ba2eba973caaec9cefa8763dd9067.tar.gz
introduced ndb_global.h/my_global.h to replace sytem lib includes e.g. stdio, stdlib
Diffstat (limited to 'ndb/src/cw/cpcd')
-rw-r--r--ndb/src/cw/cpcd/Process.cpp6
-rw-r--r--ndb/src/cw/cpcd/common.hpp2
2 files changed, 2 insertions, 6 deletions
diff --git a/ndb/src/cw/cpcd/Process.cpp b/ndb/src/cw/cpcd/Process.cpp
index a54c6b8e475..e35f9d6037a 100644
--- a/ndb/src/cw/cpcd/Process.cpp
+++ b/ndb/src/cw/cpcd/Process.cpp
@@ -14,13 +14,11 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#include <sys/types.h>
+#include <ndb_global.h>
#include <signal.h>
#include <assert.h>
-#include <stdlib.h>
-#include <NdbUnistd.h>
#include <BaseString.hpp>
#include <InputStream.hpp>
@@ -28,8 +26,6 @@
#include "CPCD.hpp"
#include <pwd.h>
-#include <sys/types.h>
-#include <unistd.h>
#include <sys/stat.h>
#include <sys/resource.h>
diff --git a/ndb/src/cw/cpcd/common.hpp b/ndb/src/cw/cpcd/common.hpp
index 65fcce05f66..c3d87b8b9f5 100644
--- a/ndb/src/cw/cpcd/common.hpp
+++ b/ndb/src/cw/cpcd/common.hpp
@@ -17,7 +17,7 @@
#ifndef __CPCD_COMMON_HPP_INCLUDED__
#define __CPCD_COMMON_HPP_INCLUDED__
-#include <stdio.h>
+#include <ndb_global.h>
#include <logger/Logger.hpp>
#include <getarg.h>