summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-27 01:20:56 +0200
committermonty@donna.mysql.com <>2001-01-27 01:20:56 +0200
commita7c5b9c211cf0d5e1355ece0c65975c56b160bb1 (patch)
treebf79d814679a767435990f41e226728ee5927766 /sql/log.cc
parent5218a03a1d3780f765572eb2269aaec0bbf860c9 (diff)
downloadmariadb-git-a7c5b9c211cf0d5e1355ece0c65975c56b160bb1.tar.gz
Portability fixes for OPENBSD, OS2 and Windows
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 80001acacd2..1ff86ed4b67 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -18,6 +18,10 @@
/* logging of commands */
/* TODO: Abort logging when we get an error in reading or writing log files */
+#ifdef __EMX__
+#include <io.h>
+#endif
+
#include "mysql_priv.h"
#include "sql_acl.h"
#include "sql_repl.h"