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

File patch-add-unistd.h.2.diff, 570 bytes (added by Schamschula (Marius Schamschula), 8 years ago)

for octave-parallel 2.2.1

  • 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