Commit 973310b4 authored by Greg Williams's avatar Greg Williams
Browse files

unistd.h inclusion fix

parent 61159d5c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -35,6 +35,10 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#ifndef _BSD_SOURCE
    #define _BSD_SOURCE
#endif // _BSD_SOURCE
#include <unistd.h>

int KineticSocket_GetSocketError(int fd)
{
+4 −0
Original line number Diff line number Diff line
@@ -25,6 +25,10 @@
#include "kinetic_message.h"

#include "protobuf-c/protobuf-c.h"
#ifndef _BSD_SOURCE
    #define _BSD_SOURCE
#endif // _BSD_SOURCE
#include <unistd.h>
#include "socket99.h"

#include <errno.h>