1 // ***************************************************************************
2 // NetUnix_p.h (c) 2011 Derek Barnett
3 // Marth Lab, Department of Biology, Boston College
4 // ---------------------------------------------------------------------------
5 // Last modified: 10 November 2011 (DB)
6 // ---------------------------------------------------------------------------
7 // Provides common networking-related includes, etc. for all UNIX-like systems
8 // ***************************************************************************
17 // This file is not part of the BamTools API. It exists purely as an
18 // implementation detail. This header file may change from version to version
19 // without notice, or even be removed.
23 #ifndef _WIN32 // <-- source files only include the proper Net*_p.h, but this is a double-check
25 #include <arpa/inet.h>
26 #include <sys/ioctl.h>
27 #include <sys/socket.h>
30 #include <sys/types.h>
35 # define BT_SOCKLEN_T socklen_t