[X2Go-Commits] [x2gobroker] 01/04: src/*.c: Fix implicit declaration of execv().

git-admin at x2go.org git-admin at x2go.org
Wed May 3 15:53:24 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gobroker.

commit 37a50b718be23a470f350a3edf7748060a10fd40
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Apr 5 21:11:35 2017 +0200

    src/*.c: Fix implicit declaration of execv().
---
 debian/changelog       | 2 +-
 src/x2gobroker-agent.c | 2 ++
 src/x2gobroker-ssh.c   | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a817908..d042c09 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 x2gobroker (0.0.3.3-0x2go1) UNRELEASED; urgency=medium
 
-  * Continue development
+  * src/*.c: Fix implicit declaration of execv().
 
  -- X2Go Release Manager <git-admin at x2go.org>  Thu, 23 Feb 2017 03:42:12 +0100
 
diff --git a/src/x2gobroker-agent.c b/src/x2gobroker-agent.c
index 41b9463..c2f1db1 100644
--- a/src/x2gobroker-agent.c
+++ b/src/x2gobroker-agent.c
@@ -19,6 +19,8 @@
  *
  */
 
+#include <unistd.h>
+
 int main( int argc, char *argv[] ) {
 
 	char x2gobrokeragent[] = TRUSTED_BINARY;
diff --git a/src/x2gobroker-ssh.c b/src/x2gobroker-ssh.c
index 40d4629..dc10cd3 100644
--- a/src/x2gobroker-ssh.c
+++ b/src/x2gobroker-ssh.c
@@ -19,6 +19,8 @@
  *
  */
 
+#include <unistd.h>
+
 int main( int argc, char *argv[] ) {
 
 	char x2gobrokerssh[] = TRUSTED_BINARY;

--
Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list