summary refs log tree commit diff
path: root/db2/compat.h
blob: 86909aeb1304a0c00f9ee8056c59aaa969b14778 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Compatibility gunk for the db library.  */

#include <sys/types.h>
#include <errno.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);