diff options
| -rw-r--r-- | ports/unix/modffi.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ports/unix/modffi.c b/ports/unix/modffi.c index 3df748b80..bc585f864 100644 --- a/ports/unix/modffi.c +++ b/ports/unix/modffi.c @@ -25,13 +25,6 @@ * THE SOFTWARE. */ -#include <assert.h> -#include <string.h> -#include <errno.h> -#include <dlfcn.h> -#include <ffi.h> -#include <stdint.h> - #include "py/runtime.h" #include "py/binary.h" #include "py/mperrno.h" @@ -40,6 +33,12 @@ #if MICROPY_PY_FFI +#include <assert.h> +#include <string.h> +#include <errno.h> +#include <dlfcn.h> +#include <ffi.h> + /* * modffi uses character codes to encode a value type, based on "struct" * module type codes, with some extensions and overridings. |
