diff options
Diffstat (limited to 'db2/compat.h')
-rw-r--r-- | db2/compat.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db2/compat.h b/db2/compat.h new file mode 100644 index 0000000000..5183befd60 --- /dev/null +++ b/db2/compat.h @@ -0,0 +1,10 @@ +/* Compatibility gunk for the db library. */ + +#include <sys/types.h> + +#define EFTYPE EINVAL + +/* Emulate Solaris llseek(). */ +typedef loff_t offset_t; + +extern int llseek (int fd, loff_t offset, int whence); |