summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server-tools/instance-manager/Makefile.am3
-rw-r--r--server-tools/instance-manager/guardian.cc2
-rw-r--r--server-tools/instance-manager/instance.cc2
-rw-r--r--server-tools/instance-manager/instance_options.h2
-rw-r--r--server-tools/instance-manager/listener.cc2
-rw-r--r--server-tools/instance-manager/log.cc2
-rw-r--r--server-tools/instance-manager/mysqlmanager.vcproj2
-rw-r--r--server-tools/instance-manager/options.cc2
-rw-r--r--server-tools/instance-manager/parse_output.cc2
-rw-r--r--server-tools/instance-manager/portability.h (renamed from server-tools/instance-manager/port.h)6
-rw-r--r--server-tools/instance-manager/priv.cc2
-rw-r--r--server-tools/instance-manager/priv.h2
12 files changed, 15 insertions, 14 deletions
diff --git a/server-tools/instance-manager/Makefile.am b/server-tools/instance-manager/Makefile.am
index 68c9d5b7d18..4de0aac3d23 100644
--- a/server-tools/instance-manager/Makefile.am
+++ b/server-tools/instance-manager/Makefile.am
@@ -77,7 +77,8 @@ mysqlmanager_SOURCES= command.cc command.h mysqlmanager.cc \
buffer.h buffer.cc parse.cc parse.h \
guardian.cc guardian.h \
parse_output.cc parse_output.h \
- mysql_manager_error.h
+ mysql_manager_error.h \
+ portability.h
mysqlmanager_LDADD= liboptions.a \
libnet.a \
diff --git a/server-tools/instance-manager/guardian.cc b/server-tools/instance-manager/guardian.cc
index 4c8f67bd64e..b8580711524 100644
--- a/server-tools/instance-manager/guardian.cc
+++ b/server-tools/instance-manager/guardian.cc
@@ -25,7 +25,7 @@
#include "instance.h"
#include "mysql_manager_error.h"
#include "log.h"
-#include "port.h"
+#include "portability.h"
#include <string.h>
#include <sys/types.h>
diff --git a/server-tools/instance-manager/instance.cc b/server-tools/instance-manager/instance.cc
index 0ebd5802af9..dee3c2d4e38 100644
--- a/server-tools/instance-manager/instance.cc
+++ b/server-tools/instance-manager/instance.cc
@@ -27,7 +27,7 @@
#include "log.h"
#include "instance_map.h"
#include "priv.h"
-#include "port.h"
+#include "portability.h"
#ifndef __WIN__
#include <sys/wait.h>
#endif
diff --git a/server-tools/instance-manager/instance_options.h b/server-tools/instance-manager/instance_options.h
index a5a38ff1221..dc62d277a43 100644
--- a/server-tools/instance-manager/instance_options.h
+++ b/server-tools/instance-manager/instance_options.h
@@ -19,7 +19,7 @@
#include <my_global.h>
#include <my_sys.h>
#include "parse.h"
-#include "port.h"
+#include "portability.h"
#ifdef __GNUC__
#pragma interface
diff --git a/server-tools/instance-manager/listener.cc b/server-tools/instance-manager/listener.cc
index 0c928e76c8c..790770be09e 100644
--- a/server-tools/instance-manager/listener.cc
+++ b/server-tools/instance-manager/listener.cc
@@ -33,7 +33,7 @@
#include "instance_map.h"
#include "log.h"
#include "mysql_connection.h"
-#include "port.h"
+#include "portability.h"
/*
diff --git a/server-tools/instance-manager/log.cc b/server-tools/instance-manager/log.cc
index 2a363312fed..3f54bc0649a 100644
--- a/server-tools/instance-manager/log.cc
+++ b/server-tools/instance-manager/log.cc
@@ -17,7 +17,7 @@
#include <my_global.h>
#include "log.h"
-#include "port.h"
+#include "portability.h"
#include <stdarg.h>
#include <m_string.h>
#include <my_sys.h>
diff --git a/server-tools/instance-manager/mysqlmanager.vcproj b/server-tools/instance-manager/mysqlmanager.vcproj
index 5263deae6a9..2ab9a4878c1 100644
--- a/server-tools/instance-manager/mysqlmanager.vcproj
+++ b/server-tools/instance-manager/mysqlmanager.vcproj
@@ -271,7 +271,7 @@
RelativePath=".\parse_output.h">
</File>
<File
- RelativePath=".\port.h">
+ RelativePath=".\portability.h">
</File>
<File
RelativePath=".\priv.h">
diff --git a/server-tools/instance-manager/options.cc b/server-tools/instance-manager/options.cc
index 5d8483d3b0b..a9d31457d98 100644
--- a/server-tools/instance-manager/options.cc
+++ b/server-tools/instance-manager/options.cc
@@ -21,7 +21,7 @@
#include "options.h"
#include "priv.h"
-#include "port.h"
+#include "portability.h"
#include <my_sys.h>
#include <my_getopt.h>
#include <m_string.h>
diff --git a/server-tools/instance-manager/parse_output.cc b/server-tools/instance-manager/parse_output.cc
index 4b3a8b75ca1..98074c47d64 100644
--- a/server-tools/instance-manager/parse_output.cc
+++ b/server-tools/instance-manager/parse_output.cc
@@ -21,7 +21,7 @@
#include <stdio.h>
#include <my_sys.h>
#include <m_string.h>
-#include "port.h"
+#include "portability.h"
/*
diff --git a/server-tools/instance-manager/port.h b/server-tools/instance-manager/portability.h
index 3b1c3e2ad93..133d99eb111 100644
--- a/server-tools/instance-manager/port.h
+++ b/server-tools/instance-manager/portability.h
@@ -1,5 +1,5 @@
-#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PORT_H
-#define INCLUDES_MYSQL_INSTANCE_MANAGER_PORT_H
+#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
+#define INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
#ifdef __WIN__
@@ -20,6 +20,6 @@ typedef int pid_t;
#endif /* __WIN__ */
-#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_PORT_H */
+#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H */
diff --git a/server-tools/instance-manager/priv.cc b/server-tools/instance-manager/priv.cc
index 496992aa43b..02a788ec469 100644
--- a/server-tools/instance-manager/priv.cc
+++ b/server-tools/instance-manager/priv.cc
@@ -16,7 +16,7 @@
#include <my_global.h>
#include "priv.h"
-#include "port.h"
+#include "portability.h"
/* the pid of the manager process (of the signal thread on the LinuxThreads) */
pid_t manager_pid;
diff --git a/server-tools/instance-manager/priv.h b/server-tools/instance-manager/priv.h
index 0f4c9be9a11..ce9d54293c7 100644
--- a/server-tools/instance-manager/priv.h
+++ b/server-tools/instance-manager/priv.h
@@ -18,7 +18,7 @@
#include <sys/types.h>
#ifdef __WIN__
-#include "port.h"
+#include "portability.h"
#else
#include <unistd.h>
#endif