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.
#include <stdio.h>
#ifndef __APPLE__
/* For RTPROT_BOOT */
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
/* Defining it rather than including <linux/rtnetlink.h> because this
* implies <asm/types.h> on Linux 2.4 */
#define RTPROT_BOOT 3 /* Route installed during boot */
#endif
#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