summaryrefslogtreecommitdiffstatshomepage
path: root/py/objstr.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-01-12 22:34:58 -0800
committerDave Hylands <dhylands@gmail.com>2014-01-12 22:34:58 -0800
commitc8effff937442be01d36d56c77054bbdee3f3aff (patch)
treeb84e6846a0a7441ef9cd05b5cb787dff02ada904 /py/objstr.c
parent34f813ee29c7191e3de455c3fc9c788496e3b29e (diff)
downloadmicropython-c8effff937442be01d36d56c77054bbdee3f3aff.tar.gz
micropython-c8effff937442be01d36d56c77054bbdee3f3aff.zip
Added public domain implementations of strchr and strstr.
Diffstat (limited to 'py/objstr.c')
-rw-r--r--py/objstr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objstr.c b/py/objstr.c
index be1f00e686..48a21c9caf 100644
--- a/py/objstr.c
+++ b/py/objstr.c
@@ -3,6 +3,7 @@
#include <stdarg.h>
#include <string.h>
#include <assert.h>
+#include <sys/types.h>
#include "nlr.h"
#include "misc.h"