You should probably just define it here and then do this in the header of the file which uses it:

    #if defined USE_TCPDEFER
    # include <netinet/tcp.h>
    #endif