mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 00:38:07 +02: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') (cherry picked from commit426491a500)
This commit is contained in:
parent
3b7af0398d
commit
9ae82c9a84
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue