]> xenbits.xensource.com Git - libvirt.git/commitdiff
Mon Dec 3 16:15:10 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 3 Dec 2007 16:19:41 +0000 (16:19 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 3 Dec 2007 16:19:41 +0000 (16:19 +0000)
* src/util.c: Fix header files for Windows builds.

ChangeLog
src/util.c

index a94af0cf7ff4903e2a570b3529046c78932cd0ad..b511f03677b0ce9559ecf30771b73fa2e6d865f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Dec  3 16:15:10 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
+
+       * src/util.c: Fix header files for Windows builds.
+
 Mon Dec  3  9:10:10 EST 2007 Daniel P. Berrange <berrange@redhat.com>
 
        * src/qemu_conf.c: remove qemudMakeConfigPath, qemudEnsureDir,
index 2c970160de8a88285f3ab69e695bea2e7841f4d2..50ddcffcfb4248b50094a2eebcb91b248822b3ee 100644 (file)
@@ -24,6 +24,8 @@
  * File created Jul 18, 2007 - Shuveb Hussain <shuveb@binarykarma.com>
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdarg.h>
 #include <unistd.h>
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <string.h>
+
+#ifdef HAVE_SYS_SYSLIMITS_H
+#include <sys/syslimits.h>
+#endif
+
 #include <libvirt/virterror.h>
 #include "event.h"
 #include "buf.h"