diff options
Diffstat (limited to 'src/systemd/sd-network.h')
-rw-r--r-- | src/systemd/sd-network.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h index 076f45745d..79b4bf9ea3 100644 --- a/src/systemd/sd-network.h +++ b/src/systemd/sd-network.h @@ -150,6 +150,8 @@ int sd_network_monitor_get_events(sd_network_monitor *m); /* Get timeout for poll(), as usec value relative to CLOCK_MONOTONIC's epoch */ int sd_network_monitor_get_timeout(sd_network_monitor *m, uint64_t *timeout_usec); +_SD_DEFINE_POINTER_CLEANUP_FUNC(sd_network_monitor, sd_network_monitor_unref); + _SD_END_DECLARATIONS; #endif |