void-packages/srcpkgs/NetworkManager/patches/musl.patch

32 lines
718 B
Diff
Raw Normal View History

2016-01-18 19:36:09 +01:00
## moving the <linux/xxxx> includes to below nm includes
## no longer works in 1.0.0.
--- src/platform/wifi/wifi-utils.h
+++ 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"
2016-01-18 19:36:09 +01:00
+#include <linux/if_ether.h>
typedef struct WifiData WifiData;
--- src/settings/nm-settings-connection.h
+++ 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"
2016-01-18 19:36:09 +01:00
+#include <linux/if_ether.h>
G_BEGIN_DECLS
2016-01-18 19:36:09 +01:00