vsftpd 2.0.7 - initial checkin.
[tomato.git] / release / src / router / vsftpd / port / solaris_bogons.h
blob00ab8b2a1873c63034b9e1276eccaabc0c3d3166
1 #ifndef VSF_SOLARIS_BOGONS_H
2 #define VSF_SOLARIS_BOGONS_H
4 /* This bogon ensures we get access to CMSG_DATA, CMSG_FIRSTHDR */
5 #define _XPG4_2
7 /* This bogon prevents _XPG4_2 breaking the include of signal.h! */
8 #define __EXTENSIONS__
10 /* Safe to always enable 64-bit file support. */
11 #define _FILE_OFFSET_BITS 64
12 #define _LARGEFILE_SOURCE 1
13 #define _LARGEFILE64_SOURCE 1
15 /* Need dirfd() */
16 #include "dirfd_extras.h"
18 #endif /* VSF_SOLARIS_BOGONS_H */