Ticket #45476: patch-add-unistd.h.diff

File patch-add-unistd.h.diff, 569 bytes (added by Schamschula (Marius Schamschula), 10 years ago)
  • src/connect.cc

    old new  
    2929#include <errno.h>
    3030#include <netdb.h>
    3131#include <netinet/in.h> // reported necessary for FreeBSD-8
     32#include <unistd.h>
    3233
    3334#include "sock-stream.h"
    3435
  • src/pserver.cc

    old new  
    3434#include <errno.h>
    3535#include <netdb.h>
    3636#include <netinet/in.h> // reported necessary for FreeBSD-8
     37#include <unistd.h>
    3738
    3839#include "sock-stream.h"
    3940