OpenVZ Forum


Home » General » Support » -=Bug=- -=Solved=-
Re: -=Bug=- [message #10118 is a reply to message #10115] Thu, 08 February 2007 15:15 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

The following patch should help. BTW which distro do you use? I thought it is a Gentoo-specific problem...

From: Kir Kolyshkin <kir@openvz.org>
Date: Wed, 17 Jan 2007 13:53:22 +0000 (+0300)
Subject: Fix ndsend compile with Gentoo linux-headers-2.6.19.2-r2
X-Git-Url: http://git.openvz.org/?p=vzctl;a=commitdiff;h=248b85a47a0e5a d4c93140eaabc23c936821dd26

Fix ndsend compile with Gentoo linux-headers-2.6.19.2-r2

The problem is abovementioned linux-headers change linux/if.h file in a way
that it does no more include linux/types.h, thus unknown types like __u8 etc.

We add this include explicitly and fix the problem.
---

--- a/src/ndsend.c
+++ b/src/ndsend.c
@@ -17,6 +17,7 @@
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#include <linux/types.h>
#include <linux/if.h>
#include <netinet/icmp6.h>



Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Thu, 08 February 2007 15:18]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: How do I clone a VE?
Next Topic: VPS dies
Goto Forum:
  


Current Time: Thu Sep 05 21:12:29 GMT 2024

Total time taken to generate the page: 0.07767 seconds