gvfs r1580 - in trunk: . common



Author: alexl
Date: Thu Mar  6 12:14:16 2008
New Revision: 1580
URL: http://svn.gnome.org/viewvc/gvfs?rev=1580&view=rev

Log:
2008-03-06  Alexander Larsson  <alexl redhat com>

        * common/gsysutils.c:
        * configure.ac:
	Include sys/uio.h if availible (#520307)




Modified:
   trunk/ChangeLog
   trunk/common/gsysutils.c
   trunk/configure.ac

Modified: trunk/common/gsysutils.c
==============================================================================
--- trunk/common/gsysutils.c	(original)
+++ trunk/common/gsysutils.c	Thu Mar  6 12:14:16 2008
@@ -29,6 +29,9 @@
 #include <strings.h>
 #include <errno.h>
 #include <unistd.h>
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h>
+#endif
 #include <gio/gio.h>
 
 #include <glib/gi18n-lib.h>

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Thu Mar  6 12:14:16 2008
@@ -94,7 +94,7 @@
 dnl *** Checks for pty stuff ***
 dnl ****************************
 
-AC_CHECK_HEADERS(sys/un.h stropts.h termios.h utmp.h)
+AC_CHECK_HEADERS(sys/un.h stropts.h termios.h utmp.h sys/uio.h)
 
 # Check for PTY handling functions.
 AC_CHECK_FUNCS(getpt posix_openpt grantpt unlockpt ptsname ptsname_r)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]