summaryrefslogtreecommitdiff
path: root/src/libsystemd-rtnl/rtnl-message.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-message.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-message.c')
-rw-r--r--src/libsystemd-rtnl/rtnl-message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-rtnl/rtnl-message.c b/src/libsystemd-rtnl/rtnl-message.c
index 9a40a75a9f..85cf55a3cd 100644
--- a/src/libsystemd-rtnl/rtnl-message.c
+++ b/src/libsystemd-rtnl/rtnl-message.c
@@ -19,6 +19,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <linux/rtnetlink.h>
#include <netinet/in.h>
#include <netinet/ether.h>
#include <stdbool.h>