diff options
Diffstat (limited to 'libnm/nm-device-olpc-mesh.h')
-rw-r--r-- | libnm/nm-device-olpc-mesh.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm/nm-device-olpc-mesh.h b/libnm/nm-device-olpc-mesh.h index 1b12b46ffc..5a22068758 100644 --- a/libnm/nm-device-olpc-mesh.h +++ b/libnm/nm-device-olpc-mesh.h @@ -21,6 +21,10 @@ #ifndef NM_DEVICE_OLPC_MESH_H #define NM_DEVICE_OLPC_MESH_H +#if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) +#error "Only <NetworkManager.h> can be included directly." +#endif + #include "nm-device.h" #include "nm-device-wifi.h" |