# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../musl/pkg/libnet/fix-includes.patch # Copyright (C) 2014 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 --- Origin: http://git.alpinelinux.org/cgit/aports/plain/main/libnet/fix-includes.patch --- libnet-1.1.6.orig/src/libnet_link_linux.c +++ libnet-1.1.6/src/libnet_link_linux.c @@ -30,26 +30,15 @@ #include #include -#if (__GLIBC__) #include #include -#else -#include -#include -#endif #if (HAVE_PACKET_SOCKET) #ifndef SOL_PACKET #define SOL_PACKET 263 #endif /* SOL_PACKET */ -#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1 #include #include /* the L2 protocols */ -#else -#include -#include -#include /* The L2 protocols */ -#endif #endif /* HAVE_PACKET_SOCKET */ #include "../include/libnet.h"