summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-04-14 12:21:58 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-04-14 12:22:36 +0100
commit171d82fa36bb601360da2cc519718c46f137c467 (patch)
tree83eff02a7381bffb8c807c5f075ccfee2a4e4bb7
parentaf9c277491c9bdc37a6fc5ae5a6c6ca190bfa56c (diff)
downloadxorg-lib-libXt-171d82fa36bb601360da2cc519718c46f137c467.tar.gz
Include unistd.h for getpid()
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: David Macek <david.macek.0@gmail.com>
-rw-r--r--src/Shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Shell.c b/src/Shell.c
index 2a627cc..f160527 100644
--- a/src/Shell.c
+++ b/src/Shell.c
@@ -87,6 +87,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/ICE/ICElib.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#ifdef EDITRES
#include <X11/Xmu/Editres.h>