diff options
Diffstat (limited to 'libnm/nm-access-point.h')
-rw-r--r-- | libnm/nm-access-point.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm/nm-access-point.h b/libnm/nm-access-point.h index 9717b43ad9..e0ec118940 100644 --- a/libnm/nm-access-point.h +++ b/libnm/nm-access-point.h @@ -22,6 +22,10 @@ #ifndef NM_ACCESS_POINT_H #define NM_ACCESS_POINT_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 <nm-dbus-interface.h> |