aboutsummaryrefslogtreecommitdiffstats
path: root/community/networkmanager/new-fix-musl-headers.patch
blob: e29f8569e6e72bbfe6b95758027b30e7d4040065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## 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