summaryrefslogtreecommitdiff
path: root/lib/libSM/src/sm_genid.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libSM/src/sm_genid.c')
-rw-r--r--lib/libSM/src/sm_genid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libSM/src/sm_genid.c b/lib/libSM/src/sm_genid.c
index 9535cd136..1a8b9a0ed 100644
--- a/lib/libSM/src/sm_genid.c
+++ b/lib/libSM/src/sm_genid.c
@@ -64,6 +64,7 @@ in this Software without prior written authorization from The Open Group.
# include <X11/Xthreads.h>
#endif
#include <stdio.h>
+#include <unistd.h>
#include <time.h>
#define Time_t time_t