diff --git a/obj/errmsg.py b/obj/errmsg.py
index <HASH>..<HASH> 100644
--- a/obj/errmsg.py
+++ b/obj/errmsg.py
@@ -9,6 +9,7 @@
 #                    the GNU General License
 # ----------------------------------------------------------------------
 
+import sys
 import gl
 from options import OPTIONS
Give up error fixed.
When too many compilations error happens, the compiler crashes
instead of giving up. Fixed.