summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-06-19 21:02:05 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-06-19 21:02:05 -0700
commitbb29523ff1a17608d58d61ad106166c264263c1e (patch)
tree460bfdf41857eda1162cf981300d987082024e1e
parentf28d40af61abef60f57c9dfa18342d998e2c00a1 (diff)
Include system headers needed for various function prototypes
-rw-r--r--plugin/PProcess.c1
-rw-r--r--xnest-plugin/NewNDest.c1
-rw-r--r--xnest-plugin/XnestDis.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/plugin/PProcess.c b/plugin/PProcess.c
index 8d067a8..fb9b532 100644
--- a/plugin/PProcess.c
+++ b/plugin/PProcess.c
@@ -35,6 +35,7 @@ The Open Group.
#include "Prefs.h"
#include <X11/StringDefs.h>
+#include <stdlib.h>
#include <limits.h> /* for MAXHOSTNAMELEN */
/* and in case we didn't get it from the headers above */
#ifndef MAXHOSTNAMELEN
diff --git a/xnest-plugin/NewNDest.c b/xnest-plugin/NewNDest.c
index 00c1b1c..1b5ec63 100644
--- a/xnest-plugin/NewNDest.c
+++ b/xnest-plugin/NewNDest.c
@@ -29,6 +29,7 @@ The Open Group.
#include "RxPlugin.h"
#include <sys/types.h>
+#include <sys/wait.h>
#include <signal.h>
diff --git a/xnest-plugin/XnestDis.c b/xnest-plugin/XnestDis.c
index a30c79e..0b868db 100644
--- a/xnest-plugin/XnestDis.c
+++ b/xnest-plugin/XnestDis.c
@@ -30,6 +30,7 @@ The Open Group.
#include "RxPlugin.h"
#include <sys/stat.h>
+#include <stdlib.h>
/***********************************************************************
* Utility functions and global variable to manage display numbers