text: include errno.h in text.h
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 25 Aug 2012 12:00:19 +0000 (14:00 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 25 Aug 2012 12:00:19 +0000 (14:00 +0200)
text.h uses -EOPNOTSUPP so we should include errno.h to avoid compilation
errors.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/text.h

index 1e12c8b..f303051 100644 (file)
@@ -38,6 +38,7 @@
 #ifndef KMSCON_TEXT_H
 #define KMSCON_TEXT_H
 
+#include <errno.h>
 #include <stdlib.h>
 #include "unicode.h"
 #include "uterm.h"