summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mysql/libmysql/mysys_err.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mysql/libmysql/mysys_err.h b/ext/mysql/libmysql/mysys_err.h
index 469d5a680e..650bfd4de9 100644
--- a/ext/mysql/libmysql/mysys_err.h
+++ b/ext/mysql/libmysql/mysys_err.h
@@ -3,6 +3,9 @@ This file is public domain and comes with NO WARRANTY of any kind */
#ifndef _mysys_err_h
#define _mysys_err_h
+
+#include <errno.h>
+
#ifdef __cplusplus
extern "C" {
#endif