summaryrefslogtreecommitdiff
path: root/libmysql/client_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmysql/client_settings.h')
-rw-r--r--libmysql/client_settings.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libmysql/client_settings.h b/libmysql/client_settings.h
index f87e625771f..1fd8619a746 100644
--- a/libmysql/client_settings.h
+++ b/libmysql/client_settings.h
@@ -13,6 +13,12 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#ifndef CLIENT_SETTINGS_INCLUDED
+#define CLIENT_SETTINGS_INCLUDED
+#else
+#error You have already included an client_settings.h and it should not be included twice
+#endif /* CLIENT_SETTINGS_INCLUDED */
+
extern uint mysql_port;
extern char * mysql_unix_port;