Ticket #51708: tiger-posix-in-h-fix.diff

File tiger-posix-in-h-fix.diff, 329 bytes (added by kenneth.f.cunningham@…, 8 years ago)

patch to allow non-POSIX in.h extensions to load

  • src/assuan-socket.c

    old new  
    3434#else
    3535# include <sys/types.h>
    3636# include <sys/socket.h>
     37#undef _POSIX_C_SOURCE
    3738# include <netinet/in.h>
     39#define _POSIX_C_SOURCE
    3840# include <arpa/inet.h>
    3941#endif
    4042#include <errno.h>