summaryrefslogtreecommitdiff
path: root/include/mysys_err.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mysys_err.h')
-rw-r--r--include/mysys_err.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/mysys_err.h b/include/mysys_err.h
index 6c18055b31b..9629dfec014 100644
--- a/include/mysys_err.h
+++ b/include/mysys_err.h
@@ -15,17 +15,15 @@
#ifndef _mysys_err_h
#define _mysys_err_h
-#ifdef __cplusplus
-
-#include "my_global.h" /* NEAR */
+#ifdef __cplusplus
extern "C" {
#endif
#define GLOBERRS (EE_ERROR_LAST - EE_ERROR_FIRST + 1) /* Nr of global errors */
#define EE(X) (globerrs[(X) - EE_ERROR_FIRST])
-extern const char * NEAR globerrs[]; /* my_error_messages is here */
+extern const char *globerrs[]; /* my_error_messages is here */
/* Error message numbers in global map */
/*