Browse Source

busybox: fixed iplink compilation under dietlibc

early
Alejandro Mery 17 years ago
parent
commit
f007335f47
  1. 28
      base/busybox/dietlibc.patch

28
base/busybox/dietlibc.patch

@ -0,0 +1,28 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../busybox/dietlibc.patch
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./networking/libiproute/iplink.c.orig 2008-09-13 23:21:55.000000000 -0400
+++ ./networking/libiproute/iplink.c 2008-09-13 23:29:07.000000000 -0400
@@ -10,7 +10,9 @@
//#include <sys/ioctl.h>
//#include <sys/socket.h>
#include <net/if.h>
+#ifndef __dietlibc__
#include <net/if_packet.h>
+#endif
#include <netpacket/packet.h>
#include <net/ethernet.h>
Loading…
Cancel
Save