aports/testing/networkmanager/new-fix-musl-headers.patch
Stuart Cardall 6a0ddb4d20 testing/networkmanager: update to 1.0.0
resubmitting with ncurses-terminfo moved from $depends_dev to
$make_depends.
2015-04-28 16:06:45 +02:00

32 lines
802 B
Diff

## moving the <linux/xxxx> includes to below nm includes
## no longer works in 1.0.0.
--- NetworkManager-1.0.0/src/platform/wifi/wifi-utils.h
+++ NetworkManager-1.0.0/src/platform/wifi/wifi-utils.h.new
@@ -22,10 +22,10 @@
#ifndef __WIFI_UTILS_H__
#define __WIFI_UTILS_H__
-#include <net/ethernet.h>
#include <glib.h>
#include "nm-dbus-interface.h"
+#include <linux/if_ether.h>
typedef struct WifiData WifiData;
--- NetworkManager-1.0.0/src/settings/nm-settings-connection.h
+++ NetworkManager-1.0.0/src/settings/nm-settings-connection.h.new
@@ -22,10 +22,9 @@
#ifndef __NETWORKMANAGER_SETTINGS_CONNECTION_H__
#define __NETWORKMANAGER_SETTINGS_CONNECTION_H__
-#include <net/ethernet.h>
-
#include <nm-connection.h>
#include "nm-types.h"
+#include <linux/if_ether.h>
G_BEGIN_DECLS