source: clfs-embedded/patches/busybox-1.12.1-iptunnel_headers-1.patch @ 2567553

Last change on this file since 2567553 was 2567553, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Updated Busybox to 1.12.1.
Patched uClibc so struct flock doesn't get redefined.

  • Property mode set to 100644
File size: 787 bytes
  • networking/libiproute/iptunnel.c

    Submitted By: Joe Ciccone <jciccone@gmail.com>
    Date: 2008-11-08
    Origin: Joe Ciccone
    Initial Package Version: 1.8.2
    Upstream Status: Unknown
    Descriprion: Make busybox play nice with sanatized kernel headers
    
    diff -Naur busybox-1.12.1.orig/networking/libiproute/iptunnel.c busybox-1.12.1/networking/libiproute/iptunnel.c
    old new  
    1414 * Phil Karn <karn@ka9q.ampr.org>       990408: "pmtudisc" flag
    1515 */
    1616
    17 #include <netinet/ip.h>
    18 #include <net/if.h>
    19 #include <net/if_arp.h>
     17#include <linux/if.h>
     18#include <linux/if_arp.h>
    2019#include <asm/types.h>
    2120#ifndef __constant_htons
    2221#define __constant_htons htons
Note: See TracBrowser for help on using the repository browser.