chiark / gitweb /
test-rtnl: fix typo
[elogind.git] / src / libsystemd-rtnl / rtnl-internal.h
index c24d12b907841393070a6ed16b60bdd2ad0d85d3..b05290fd89ee7ad5ab9a69c08c01e5eb62402b8d 100644 (file)
@@ -1,5 +1,7 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
+#pragma once
+
 /***
   This file is part of systemd.
 
@@ -19,6 +21,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#include <linux/netlink.h>
+
 #include "refcnt.h"
 
 struct sd_rtnl {
@@ -31,7 +35,8 @@ struct sd_rtnl {
                 struct sockaddr_nl nl;
         } sockaddr;
 
-        unsigned serial;
+        uint32_t serial;
+
         pid_t original_pid;
 };