Deprecate ERRNO for removal in 3.0.
diff --git a/Lib/plat-irix5/ERRNO.py b/Lib/plat-irix5/ERRNO.py
index d49e964..d9ab7a4 100755
--- a/Lib/plat-irix5/ERRNO.py
+++ b/Lib/plat-irix5/ERRNO.py
@@ -1,4 +1,7 @@
 # Generated by h2py from /usr/include/errno.h
+from warnings import warnpy3k
+warnpy3k("the ERRNO module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
 
 # Included from sys/errno.h
 __KBASE = 1000