summaryrefslogtreecommitdiff
path: root/src/libsystemd-rtnl/test-rtnl.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/test-rtnl.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/test-rtnl.c')
-rw-r--r--src/libsystemd-rtnl/test-rtnl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-rtnl/test-rtnl.c b/src/libsystemd-rtnl/test-rtnl.c
index 2d2b2373b6..39a83f3532 100644
--- a/src/libsystemd-rtnl/test-rtnl.c
+++ b/src/libsystemd-rtnl/test-rtnl.c
@@ -19,12 +19,14 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <linux/rtnetlink.h>
#include <netinet/ether.h>
#include "util.h"
#include "macro.h"
#include "sd-rtnl.h"
#include "socket-util.h"
+#include "rtnl-util.h"
static void test_link_configure(sd_rtnl *rtnl, int ifindex) {
_cleanup_sd_rtnl_message_unref_ sd_rtnl_message *message;