summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/lldp-port.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-network/lldp-port.h')
-rw-r--r--src/libsystemd-network/lldp-port.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsystemd-network/lldp-port.h b/src/libsystemd-network/lldp-port.h
index 1b1ae040d1..b2d3180091 100644
--- a/src/libsystemd-network/lldp-port.h
+++ b/src/libsystemd-network/lldp-port.h
@@ -27,6 +27,8 @@
#include "sd-event.h"
#include "sd-lldp.h"
+#include "util.h"
+
typedef struct lldp_port lldp_port;
struct lldp_port {
@@ -48,7 +50,7 @@ struct lldp_port {
};
int lldp_port_new(int ifindex,
- char *ifname,
+ const char *ifname,
const struct ether_addr *addr,
void *userdata,
lldp_port **ret);