summaryrefslogtreecommitdiff
path: root/libnm-core/nm-json.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-01-09 07:17:06 +0100
committerThomas Haller <thaller@redhat.com>2018-01-16 14:47:24 +0100
commitee56c9250fc88eb1983bc587dc5052a70cb88e0f (patch)
treed60a5c16e0843c8daca4650d93fd65ec5379ec68 /libnm-core/nm-json.h
parent288877848067c08abfd82d3ee72765f89ec79968 (diff)
downloadNetworkManager-ee56c9250fc88eb1983bc587dc5052a70cb88e0f.tar.gz
libnm: add include guard to nm-json.h
Diffstat (limited to 'libnm-core/nm-json.h')
-rw-r--r--libnm-core/nm-json.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm-core/nm-json.h b/libnm-core/nm-json.h
index 3db37aac3b..2465ba385d 100644
--- a/libnm-core/nm-json.h
+++ b/libnm-core/nm-json.h
@@ -15,6 +15,8 @@
*
* Copyright 2017, 2018 Red Hat, Inc.
*/
+#ifndef __NM_JSON_H__
+#define __NM_JSON_H__
gboolean nm_jansson_load (void);
@@ -43,3 +45,5 @@ gboolean nm_jansson_load (void);
#define json_integer_value (*_nm_jansson_json_integer_value)
#define json_string_value (*_nm_jansson_json_string_value)
#endif
+
+#endif /* __NM_JSON_H__ */