summaryrefslogtreecommitdiffstatshomepage
path: root/unix/socket.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-17 10:31:03 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-17 10:31:03 +0000
commitc44115f831046b832dffdd0f7ab9acee89c69251 (patch)
treeb6d47715a189326e3cf9bc951be06ddf2825d61e /unix/socket.c
parent781687c77280c96b4b240994a0a0e28cc959d269 (diff)
parentc55388823f355334b1691b97cad5efc279feb224 (diff)
downloadmicropython-c44115f831046b832dffdd0f7ab9acee89c69251.tar.gz
micropython-c44115f831046b832dffdd0f7ab9acee89c69251.zip
Merge branch 'master' of github.com:xbe/micropython
Diffstat (limited to 'unix/socket.c')
-rw-r--r--unix/socket.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/socket.c b/unix/socket.c
index a9cf4a81a0..d720275192 100644
--- a/unix/socket.c
+++ b/unix/socket.c
@@ -2,7 +2,10 @@
#include <assert.h>
#include <string.h>
#include <unistd.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>