summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bruines <alexander.bruines@gmail.com>2016-04-23 11:10:18 +0200
committerAndy Green <andy@warmcat.com>2016-04-23 17:19:07 +0800
commit96487167ddd19cd6e22c115156f609257b19169c (patch)
tree67731eeeb003a9ac40807d9b43ff3613b692c42c
parent449e73433c8b0dd9617d9c19270729ec2895e982 (diff)
downloadlibwebsockets-96487167ddd19cd6e22c115156f609257b19169c.tar.gz
libwebsockets-96487167ddd19cd6e22c115156f609257b19169c.tar.bz2
libwebsockets-96487167ddd19cd6e22c115156f609257b19169c.zip
Android needs sys/resource.h
-rw-r--r--lib/private-libwebsockets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h
index 4cabdd92..b3068a62 100644
--- a/lib/private-libwebsockets.h
+++ b/lib/private-libwebsockets.h
@@ -114,6 +114,7 @@
#endif
#if defined (__ANDROID__)
#include <syslog.h>
+#include <sys/resource.h>
#else
#include <sys/syslog.h>
#endif