diff options
Diffstat (limited to 'libnm/nm-client.h')
-rw-r--r-- | libnm/nm-client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm/nm-client.h b/libnm/nm-client.h index 830856d81..8fc676b8f 100644 --- a/libnm/nm-client.h +++ b/libnm/nm-client.h @@ -22,6 +22,10 @@ #ifndef NM_CLIENT_H #define NM_CLIENT_H +#if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) +#error "Only <NetworkManager.h> can be included directly." +#endif + #include <glib.h> #include <glib-object.h> #include <gio/gio.h> |