[Xfce4-commits] <libxfce4util:master> Fix stdarg.h include (bug #6897).

Nick Schermer noreply at xfce.org
Wed Dec 1 21:56:01 CET 2010


Updating branch refs/heads/master
         to 5fca4711d98f31e263f9c43489436c0c32bb5840 (commit)
       from a2223d4a9b15aeead6bec83dc94a6c5d8b3aeb23 (commit)

commit 5fca4711d98f31e263f9c43489436c0c32bb5840
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Dec 1 21:53:50 2010 +0100

    Fix stdarg.h include (bug #6897).

 configure.in.in               |    2 +-
 libxfce4util/xfce-miscutils.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index 37bb961..02ecab4 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -101,7 +101,7 @@ dnl ***************************************
 AC_HEADER_STDC()
 AC_CHECK_HEADERS([err.h errno.h grp.h limits.h locale.h pwd.h \
                   signal.h sys/stat.h sys/types.h sys/utsname.h \
-                  sys/wait.h time.h unistd.h varargs.h libintl.h])
+                  sys/wait.h time.h unistd.h stdarg.h varargs.h libintl.h])
 AC_CHECK_FUNCS([gethostname getpwnam setenv setlocale strdup unsetenv\
                 bind_textdomain_codeset])
 
diff --git a/libxfce4util/xfce-miscutils.c b/libxfce4util/xfce-miscutils.c
index b568ea1..2a25275 100644
--- a/libxfce4util/xfce-miscutils.c
+++ b/libxfce4util/xfce-miscutils.c
@@ -43,7 +43,7 @@
 #ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
-#ifdef HAVE_STAD_ARG_H
+#ifdef HAVE_STDARG_H
 #include <stdarg.h>
 #elif defined (HAVE_VARARGS_H)
 #include <varargs.h>



More information about the Xfce4-commits mailing list