diff options
author | Thomas Haller <thaller@redhat.com> | 2015-02-25 01:37:57 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-02-26 10:21:35 +0100 |
commit | ec1e8017af77a7746bf548eae9d6bb88785cfc86 (patch) | |
tree | 29ab34c734efc6c9773f7cce51bca8895aa27220 | |
parent | fe0bd1b91ffc27fd7d0b8c9dbf517f49b2b8a44a (diff) | |
download | NetworkManager-ec1e8017af77a7746bf548eae9d6bb88785cfc86.tar.gz |
test: fix defining nmtst_create_minimal_connection() without including nm-setting-connection.h
-rw-r--r-- | include/nm-test-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h index 23273162df..24523abdad 100644 --- a/include/nm-test-utils.h +++ b/include/nm-test-utils.h @@ -712,7 +712,7 @@ nmtst_ip6_config_clone (NMIP6Config *config) #endif -#ifdef __NM_SIMPLE_CONNECTION_H__ +#if defined(__NM_SIMPLE_CONNECTION_H__) && defined(__NM_SETTING_CONNECTION_H__) inline static NMConnection * nmtst_create_minimal_connection (const char *id, const char *uuid, const char *type, NMSettingConnection **out_s_con) |