Fix: net_uuid.c:158:5: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration] net_uuid.c:159:5: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Part of: https://github.com/HewlettPackard/netperf/commit/0b0cbbef75021134c83be0c3dd21878467e11144 --- src/net_uuid.c.orig +++ src/net_uuid.c @@ -29,6 +29,10 @@ #include #include +#if defined(HAVE_UNISTD_H) +#include +#endif + #if defined(HAVE_INTTYPES_H) #include #endif