summaryrefslogtreecommitdiff
path: root/mysys/mysys_priv.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-02-20 23:42:06 +0100
committerunknown <serg@serg.mylan>2004-02-20 23:42:06 +0100
commite8ae2f52668280acacfeae2cd78348361bf1c539 (patch)
tree5a9e5e65b87b27e63886ec475aa17b69a7aabae9 /mysys/mysys_priv.h
parentde264ea443fc84e6d99997d0b5d7c18923b36faf (diff)
downloadmariadb-git-e8ae2f52668280acacfeae2cd78348361bf1c539.tar.gz
fix for --open-files-limit and broken query_cache_merge.test
mysys/my_init.c: #include moved to mysys_priv.h mysys/mysys_priv.h: #include moved to mysys_priv.h sql/hostname.cc: removed unnecessary #include
Diffstat (limited to 'mysys/mysys_priv.h')
-rw-r--r--mysys/mysys_priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysys/mysys_priv.h b/mysys/mysys_priv.h
index f79431a0b0b..6abadd48aeb 100644
--- a/mysys/mysys_priv.h
+++ b/mysys/mysys_priv.h
@@ -21,6 +21,10 @@
#include "system_wrappers.h"
#endif
+#ifdef HAVE_GETRUSAGE
+#include <sys/resource.h>
+#endif
+
#ifdef THREAD
#include <my_pthread.h>
extern pthread_mutex_t THR_LOCK_malloc, THR_LOCK_open, THR_LOCK_keycache;
@@ -29,3 +33,4 @@ extern pthread_mutex_t THR_LOCK_charset;
#else
#include <my_no_pthread.h>
#endif
+