about summary refs log tree commit diff
path: root/db2
diff options
context:
space:
mode:
Diffstat (limited to 'db2')
-rw-r--r--db2/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/db2/compat.h b/db2/compat.h
index 8652ad97ec..86909aeb13 100644
--- a/db2/compat.h
+++ b/db2/compat.h
@@ -1,6 +1,7 @@
 /* Compatibility gunk for the db library.  */
 
 #include <sys/types.h>
+#include <errno.h>
 
 #ifndef EFTYPE
 # define EFTYPE EINVAL