diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2014-09-13 19:38:12 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-04-10 15:52:50 +0100 |
commit | 29ea6247434a85934986e7d4fc60862231c5d77d (patch) | |
tree | e8146dac77a4becbb239a35f3f709f1f9920d4d7 /src | |
parent | f2dd6934c38414bc448ee49b47604f135f5487ea (diff) |
Include unistd.h for getpid()
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: David Macek <david.macek.0@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/sm_genid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sm_genid.c b/src/sm_genid.c index bcd10a6..cf2b51b 100644 --- a/src/sm_genid.c +++ b/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 |