summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-10-18 08:20:59 +0200
committerThomas Haller <thaller@redhat.com>2019-10-18 16:50:08 +0200
commit65a300d7dd32d473baf55f349a435e3c99cec57a (patch)
tree23427e49981689543fb5b9b0778978ef7115ac4b
parent87541055c800fe0b544e182b090123454194fcc4 (diff)
downloadNetworkManager-th/libnm-no-dbus-codegen-2.tar.gz
libnm: include "nm-types.h" in "nm-libnm-utils.h"th/libnm-no-dbus-codegen-2
We now include "libnm/nm-libnm-utils.h" for all compilation of libnm sources. Let that one also include "nm-types.h". In the end, it's anyway needed almost everywhere.
-rw-r--r--libnm/nm-libnm-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm/nm-libnm-utils.h b/libnm/nm-libnm-utils.h
index 3708fa4f57..ff070a587d 100644
--- a/libnm/nm-libnm-utils.h
+++ b/libnm/nm-libnm-utils.h
@@ -10,6 +10,10 @@
#error Cannot use this header.
#endif
+#include "nm-types.h"
+
+/*****************************************************************************/
+
/* Markers for deprecated sync code in internal API. */
#define _NM_DEPRECATED_SYNC_METHOD_INTERNAL NM_DEPRECATED_IN_1_22
#define _NM_DEPRECATED_SYNC_WRITABLE_PROPERTY_INTERNAL NM_DEPRECATED_IN_1_22