summaryrefslogtreecommitdiffstatshomepage
path: root/unix/time.c
diff options
context:
space:
mode:
authorxbe <xbe@machine>2014-03-15 23:24:34 -0700
committerxbe <xbe@machine>2014-03-16 12:14:15 -0700
commitc93a22197bfdb9323fa176eca4d30f307963ce9d (patch)
treebf1545ee595378c06f652b77e1418bac590b0e0c /unix/time.c
parent51bbf6a006901fd3877c6abe3d5d67de74401310 (diff)
downloadmicropython-c93a22197bfdb9323fa176eca4d30f307963ce9d.tar.gz
micropython-c93a22197bfdb9323fa176eca4d30f307963ce9d.zip
unix: Clean up includes.
Remove unnecessary includes. Add includes that improve portability.
Diffstat (limited to 'unix/time.c')
-rw-r--r--unix/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/time.c b/unix/time.c
index 1abd7cff39..7d25b3dd56 100644
--- a/unix/time.c
+++ b/unix/time.c
@@ -1,3 +1,4 @@
+#include <unistd.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>