summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-07-04 18:41:58 +0200
committerThomas Haller <thaller@redhat.com>2020-07-06 11:10:43 +0200
commit5dd923cd8608daecb47f350255fd89408ea2b563 (patch)
treee6c552a8a3d2bbf7f93292f60ceba7b1afc8910b
parent15492e6c503be48b90602160c2099a965a00917b (diff)
downloadNetworkManager-5dd923cd8608daecb47f350255fd89408ea2b563.tar.gz
shared: add "nm-std-aux/nm-std-aux.h" header
"nm-std-aux" is an utility library that has no glib depdencency. That is the difference to "nm-glib-aux".
-rw-r--r--Makefile.am1
-rw-r--r--shared/nm-default.h1
-rw-r--r--shared/nm-std-aux/nm-std-aux.h6
3 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 4db3d51ee3..43ae18772b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -356,6 +356,7 @@ shared_nm_std_aux_libnm_std_aux_la_SOURCES = \
shared/nm-std-aux/c-list-util.c \
shared/nm-std-aux/c-list-util.h \
shared/nm-std-aux/nm-dbus-compat.h \
+ shared/nm-std-aux/nm-std-aux.h \
shared/nm-std-aux/unaligned.h \
$(NULL)
diff --git a/shared/nm-default.h b/shared/nm-default.h
index ace6ede16c..74a3c18332 100644
--- a/shared/nm-default.h
+++ b/shared/nm-default.h
@@ -261,6 +261,7 @@ _nm_g_return_if_fail_warning (const char *log_domain,
/*****************************************************************************/
+#include "nm-std-aux/nm-std-aux.h"
#include "nm-glib-aux/nm-macros-internal.h"
#include "nm-glib-aux/nm-shared-utils.h"
#include "nm-glib-aux/nm-errno.h"
diff --git a/shared/nm-std-aux/nm-std-aux.h b/shared/nm-std-aux/nm-std-aux.h
new file mode 100644
index 0000000000..6023cd0651
--- /dev/null
+++ b/shared/nm-std-aux/nm-std-aux.h
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: LGPL-2.1+
+
+#ifndef __NM_STD_AUX_H__
+#define __NM_STD_AUX_H__
+
+#endif /* __NM_STD_AUX_H__ */