Commit eb0e1ca4 authored by Gabriel Kerneis's avatar Gabriel Kerneis

Fix RTPROT_BOOT for Linux 2.4 kernel

parent 0ac605c3
...@@ -25,10 +25,9 @@ THE SOFTWARE. ...@@ -25,10 +25,9 @@ THE SOFTWARE.
#include <stdio.h> #include <stdio.h>
#ifndef __APPLE__ #ifndef __APPLE__
/* For RTPROT_BOOT */ /* Defining it rather than including <linux/rtnetlink.h> because this
#include <sys/socket.h> * implies <asm/types.h> on Linux 2.4 */
#include <linux/netlink.h> #define RTPROT_BOOT 3 /* Route installed during boot */
#include <linux/rtnetlink.h>
#endif #endif
#include "babeld.h" #include "babeld.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment