summaryrefslogtreecommitdiff
path: root/gio/gvfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gvfs.h')
-rw-r--r--gio/gvfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gvfs.h b/gio/gvfs.h
index 3abc9b425..9400c6fb3 100644
--- a/gio/gvfs.h
+++ b/gio/gvfs.h
@@ -20,6 +20,10 @@
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_VFS_H__
#define __G_VFS_H__