Fri Jun 15 16:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

* configure.in: Solaris header file fixes (Mark Johnson).
This commit is contained in:
Richard W.M. Jones 2007-06-15 15:24:20 +00:00
parent a770b4c357
commit 6668e64766
10 changed files with 34 additions and 4 deletions

View File

@ -1,3 +1,7 @@
Fri Jun 15 16:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* configure.in: Solaris header file fixes (Mark Johnson).
Fri Jun 15 14:42:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/test.c, src/virsh.c, src/xend_internal.c, src/xm_internal.c:

View File

@ -43,9 +43,6 @@ AC_PATH_PROG(TAR, tar, /bin/tar)
AC_PATH_PROG(XMLLINT, xmllint, /usr/bin/xmllint)
AC_PATH_PROG(XSLTPROC, xsltproc, /usr/bin/xsltproc)
dnl Availability of various common functions.
AC_CHECK_FUNCS([regexec])
dnl Make sure we have an ANSI compiler
AM_C_PROTOTYPES
test "x$U" != "x" && AC_MSG_ERROR(Compiler not ANSI compliant)
@ -56,6 +53,12 @@ AM_PROG_CC_C_O
LIBVIRT_COMPILE_WARNINGS(maximum)
dnl Availability of various common functions (non-fatal if missing).
AC_CHECK_FUNCS([regexec])
dnl Availability of various common headers (non-fatal if missing).
AC_CHECK_HEADERS(paths.h)
dnl Specific dir for HTML output ?
AC_ARG_WITH(html-dir, AC_HELP_STRING([--with-html-dir=path],
[path to base html directory, default $datadir/doc/html]),

View File

@ -18,6 +18,7 @@
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/wait.h>
#include <string.h>
#include "internal.h"
#include "driver.h"
#include "proxy_internal.h"

View File

@ -41,7 +41,14 @@
#include <netinet/in.h>
#include <netdb.h>
#include <limits.h>
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#ifndef _PATH_DEVNULL
#define _PATH_DEVNULL "/dev/null"
#endif
#include "internal.h"
#include "qemu_internal.h"

View File

@ -29,6 +29,7 @@
#include <ctype.h>
#include <fcntl.h>
#include <locale.h>
#include <limits.h>
#include <assert.h>
#include <errno.h>
#include <sys/stat.h>

View File

@ -27,6 +27,7 @@
#include <stdint.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <xen/dom0_ops.h>

View File

@ -28,6 +28,7 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <libxml/uri.h>
#include <errno.h>
#include "libvirt/libvirt.h"
#include "driver.h"

View File

@ -26,6 +26,7 @@
#include <dirent.h>
#include <time.h>
#include <sys/stat.h>
#include <limits.h>
#include <unistd.h>
#include <stdint.h>
@ -35,6 +36,9 @@
#include <libxml/tree.h>
#include <libxml/xpath.h>
#ifndef NAME_MAX
#define NAME_MAX 255
#endif
#include "xen_unified.h"
#include "xm_internal.h"

View File

@ -19,9 +19,16 @@
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
#include <paths.h>
#include "testutils.h"
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#ifndef _PATH_DEVNULL
#define _PATH_DEVNULL "/dev/null"
#endif
#define GETTIMEOFDAY(T) gettimeofday(T, NULL)
#define DIFF_MSEC(T, U) \
((((int) ((T)->tv_sec - (U)->tv_sec)) * 1000000.0 + \

View File

@ -2,6 +2,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include "xml.h"
#include "testutils.h"