summaryrefslogtreecommitdiff
path: root/libnm/nm-device-wimax.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-device-wimax.h')
-rw-r--r--libnm/nm-device-wimax.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm/nm-device-wimax.h b/libnm/nm-device-wimax.h
index cf368232d2..5853add41e 100644
--- a/libnm/nm-device-wimax.h
+++ b/libnm/nm-device-wimax.h
@@ -22,6 +22,10 @@
#ifndef NM_DEVICE_WIMAX_H
#define NM_DEVICE_WIMAX_H
+#if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION)
+#error "Only <NetworkManager.h> can be included directly."
+#endif
+
#include "nm-device.h"
#include "nm-wimax-nsp.h"