mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-24 03:34:40 +00:00
platform: fix build using our copy of header "linux-headers/ethtool.h"
Fixes: 34d48d2596
('platform: clear all BASE types when setting advertised modes for ethernet autoneg')
This commit is contained in:
parent
52d18db0e3
commit
426491a500
|
@ -7,6 +7,10 @@
|
|||
|
||||
#include "nm-platform-utils.h"
|
||||
|
||||
/* <linux/mii.h> includes <linux/ethtool.h>. We thus need to include
|
||||
* our copy first and violate the common order of includes. */
|
||||
#include "linux-headers/ethtool.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/sockios.h>
|
||||
|
@ -17,7 +21,6 @@
|
|||
#include <fcntl.h>
|
||||
#include <libudev.h>
|
||||
|
||||
#include "linux-headers/ethtool.h"
|
||||
#include "libnm-base/nm-ethtool-base.h"
|
||||
#include "libnm-log-core/nm-logging.h"
|
||||
#include "libnm-glib-aux/nm-time-utils.h"
|
||||
|
|
Loading…
Reference in a new issue