summaryrefslogtreecommitdiffstatshomepage
path: root/py/repl.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-01 20:27:54 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-01 20:32:09 +0000
commit51dfcb4bb7613ed164952712d9a5235a7b833cde (patch)
treec1856c7db0ff6d5ae51190be4325804a0aad43f4 /py/repl.h
parentdb1ac360c39aeedd28b6ef5d653faaa14c3ce01e (diff)
downloadmicropython-51dfcb4bb7613ed164952712d9a5235a7b833cde.tar.gz
micropython-51dfcb4bb7613ed164952712d9a5235a7b833cde.zip
py: Move to guarded includes, everywhere in py/ core.
Addresses issue #1022.
Diffstat (limited to 'py/repl.h')
-rw-r--r--py/repl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/py/repl.h b/py/repl.h
index 92688f9f9a..db92560176 100644
--- a/py/repl.h
+++ b/py/repl.h
@@ -23,7 +23,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef __MICROPY_INCLUDED_PY_REPL_H__
+#define __MICROPY_INCLUDED_PY_REPL_H__
+
+#include "py/mpconfig.h"
+#include "py/misc.h"
#if MICROPY_HELPER_REPL
bool mp_repl_continue_with_input(const char *input);
#endif
+
+#endif // __MICROPY_INCLUDED_PY_REPL_H__