summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-03-02 20:23:27 +0100
committerThomas Haller <thaller@redhat.com>2015-03-03 11:19:22 +0100
commit2dcb097e99c4641b47795033027f40738096a21b (patch)
tree8617791864dd9d0c336fe44dea1f5703b032c380
parentfd3171412198f972e4ac6c9d887a00105f2676e0 (diff)
downloadNetworkManager-2dcb097e99c4641b47795033027f40738096a21b.tar.gz
dhcp: include sys/resource.h in nm-sd-adapt.h
As we don't provide "missing.h" header from systemd, we lack some includes. Include <sys/resource.h> in nm-sd-adapt.h for struct rlimit.
-rw-r--r--src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h b/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h
index d5757bdb2d..1a835951fd 100644
--- a/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h
+++ b/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h
@@ -37,6 +37,7 @@
#include <sys/syscall.h>
#include <net/if_arp.h>
+#include <sys/resource.h>
#include "nm-logging.h"