summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-05-10 17:13:33 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-05-10 17:13:33 +0300
commit8fbabab1a80efa8b9c0654f63b2157d8f8299955 (patch)
tree33fe29856a7870086a50e15a2af7c5f483d26237 /unix/mpconfigport.h
parent4a60cac9162f8f2aa25a2de4025493d38113ae54 (diff)
downloadmicropython-8fbabab1a80efa8b9c0654f63b2157d8f8299955.tar.gz
micropython-8fbabab1a80efa8b9c0654f63b2157d8f8299955.zip
unix: Include stdio.h to allow easy debugging with printf().
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 411817130a..b7da9d3234 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -24,6 +24,9 @@
* THE SOFTWARE.
*/
+// Debugging help - use printf() easily
+#include <stdio.h>
+
// options to control how Micro Python is built
#define MICROPY_ALLOC_PATH_MAX (PATH_MAX)