diff --git a/src/sm_genid.c b/src/sm_genid.c index 1a8b9a0ed..3726eb1d2 100644 --- a/src/sm_genid.c +++ b/src/sm_genid.c @@ -64,7 +64,9 @@ in this Software without prior written authorization from The Open Group. # include #endif #include +#ifdef HAVE_UNISTD_H #include +#endif #include #define Time_t time_t @@ -84,6 +86,7 @@ in this Software without prior written authorization from The Open Group. # include # include +# include # define X_INCLUDE_NETDB_H # define XOS_USE_MTSAFE_NETDBAPI # include