[Xfce4-commits] [apps/xfce4-volumed-pulse] 49/62: add missing include for errno
noreply at xfce.org
noreply at xfce.org
Thu Sep 8 10:33:11 CEST 2016
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository apps/xfce4-volumed-pulse.
commit 62cd790f3b52fc168c4655e2e56b7148d7cfc168
Author: Lionel Le Folgoc <lionel at lefolgoc.net>
Date: Fri May 25 18:30:36 2012 +0200
add missing include for errno
---
configure.ac.in | 2 +-
src/main.c | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.ac.in b/configure.ac.in
index 49f063c..2bfce69 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -48,7 +48,7 @@ AC_PROG_INSTALL()
dnl **********************************
dnl *** Check for standard headers ***
dnl **********************************
-AC_CHECK_HEADERS([stdio.h stdlib.h string.h unistd.h])
+AC_CHECK_HEADERS([errno.h stdio.h stdlib.h string.h unistd.h])
AC_CHECK_FUNCS([daemon setsid])
dnl ***********************************
diff --git a/src/main.c b/src/main.c
index 6b1a73a..ad9b2f8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,6 +21,10 @@
#include "config.h"
#endif
+#ifdef HAVE_ERRNO_H
+#include <errno.h>
+#endif
+
#include "xvd_keys.h"
#include "xvd_data_types.h"
#include "xvd_pulse.h"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list