aboutsummaryrefslogtreecommitdiff
path: root/db2
diff options
context:
space:
mode:
Diffstat (limited to 'db2')
-rw-r--r--db2/compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/db2/compat.h b/db2/compat.h
index 5183bef..8652ad9 100644
--- a/db2/compat.h
+++ b/db2/compat.h
@@ -2,7 +2,9 @@
#include <sys/types.h>
-#define EFTYPE EINVAL
+#ifndef EFTYPE
+# define EFTYPE EINVAL
+#endif
/* Emulate Solaris llseek(). */
typedef loff_t offset_t;