Skip to contentSkip to conversation

libaio: Fix build for *BSD

PATCH New Christoph Egger 1 participant 1 message Sep 26, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libaio: Fix build for *BSD

Hi!

Attached patch fixes build for *BSD:
- Remove unused linux specific header
- Include <sys/time.h> needed for struct timespec

Signature · 12 lines
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy
tools/libaio/src/compat-0_1.c +1 -1
diff -r 0b873d909ad3 tools/libaio/src/compat-0_1.c
@@ -19,7 +19,7 @@
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
  */
 #include <stdlib.h>
-#include <asm/errno.h>
+#include <sys/time.h>
 
 #include "libaio.h"
 #include "vsys_def.h"

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel