diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-13 11:43:57 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-13 11:43:57 -0800 |
commit | f88a72a88e78ce1cfbd25f0cbf1fbff5e6fd43cb (patch) | |
tree | 819b59b7c3dc69052bfbb8528fccda4bbe1c006c /py | |
parent | 2300537c79dd642a7187018334a1a697a415f589 (diff) | |
parent | c8effff937442be01d36d56c77054bbdee3f3aff (diff) | |
download | micropython-f88a72a88e78ce1cfbd25f0cbf1fbff5e6fd43cb.tar.gz micropython-f88a72a88e78ce1cfbd25f0cbf1fbff5e6fd43cb.zip |
Merge pull request #168 from dhylands/add-strstr
Added public domain implementations of strchr and strstr.
Diffstat (limited to 'py')
-rw-r--r-- | py/objstr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objstr.c b/py/objstr.c index f48bde6001..a1c35bad3b 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" |