Project

General

Profile

Bug #3022 ยป 0001-Redefines-SOL_TCP-for-Apple-and-BSD-systems.patch

devnexen, 2020-08-26 20:18

View differences:

include/lighttpd/sys_socket.h
53 53
        (sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
54 54
#endif /* SUN_LEN */
55 55

  
56
#ifndef SOL_TCP
57
#define SOL_TCP IPPROTO_TCP
58
#endif /* SOL_TCP */
59

  
56 60
#define sockread( fd, buf, bytes ) read( fd, buf, bytes )
57 61
#define closesocket(x) close(x)
58 62

  
    (1-1/1)