提交 6668e647 编写于 作者: R Richard W.M. Jones

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

        * configure.in: Solaris header file fixes (Mark Johnson).
上级 a770b4c3
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:
......
......@@ -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]),
......
......@@ -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"
......
......@@ -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"
......
......@@ -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>
......
......@@ -27,6 +27,7 @@
#include <stdint.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <xen/dom0_ops.h>
......
......@@ -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"
......
......@@ -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"
......
......@@ -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 + \
......
......@@ -2,6 +2,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include "xml.h"
#include "testutils.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册