aboutsummaryrefslogtreecommitdiff
path: root/db2/compat.h
blob: 8652ad97ecedc2c2e8ae32c7184951ed21afc4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Compatibility gunk for the db library.  */

#include <sys/types.h>

#ifndef EFTYPE
# define EFTYPE EINVAL
#endif

/* Emulate Solaris llseek().  */
typedef loff_t offset_t;

extern int llseek (int fd, loff_t offset, int whence);