summaryrefslogtreecommitdiff
path: root/src/libsystemd-rtnl/rtnl-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-07 03:39:32 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-07 03:39:32 +0100
commita33dece5f8cce7f1946263bec76068ef84abc07b (patch)
tree4bc528464883d362e9d3049bcf7df48df913ae4d /src/libsystemd-rtnl/rtnl-util.c
parenta2cdd907d1ffd314d1f15d83851610231f69eb61 (diff)
rtnl: headers in src/systemd/ may not include internal headers
Hence including "util.h" from sd-rtnl.h is not OK. Let's minimize our headers we pull in a bit.
Diffstat (limited to 'src/libsystemd-rtnl/rtnl-util.c')
-rw-r--r--src/libsystemd-rtnl/rtnl-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-rtnl/rtnl-util.c b/src/libsystemd-rtnl/rtnl-util.c
index 93804bb744..9707aa04a6 100644
--- a/src/libsystemd-rtnl/rtnl-util.c
+++ b/src/libsystemd-rtnl/rtnl-util.c
@@ -19,6 +19,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <linux/rtnetlink.h>
#include <netinet/ether.h>
#include "sd-rtnl.h"