[Xfce4-commits] <xfdesktop:master> Add missing unistd.h include to fix a compiler warning.

Jannis Pohlmann noreply at xfce.org
Thu Jan 7 23:42:01 CET 2010


Updating branch refs/heads/master
         to 6b6671b88e311ae037cc0e5175c890461158b0f8 (commit)
       from cc1c282b6d9789b09a523ebf408da8fcdc52d74d (commit)

commit 6b6671b88e311ae037cc0e5175c890461158b0f8
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Thu Jan 7 23:40:10 2010 +0100

    Add missing unistd.h include to fix a compiler warning.

 src/main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c
index e2eb035..4440396 100644
--- a/src/main.c
+++ b/src/main.c
@@ -40,6 +40,10 @@
 #include <signal.h>
 #endif
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include <X11/Xlib.h>
 
 #include <gmodule.h>



More information about the Xfce4-commits mailing list