projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add single-include guards to new headers
[platform/upstream/glib.git]
/
gio
/
gcredentials.h
diff --git
a/gio/gcredentials.h
b/gio/gcredentials.h
index
be1965f
..
e0d8fcd
100644
(file)
--- a/
gio/gcredentials.h
+++ b/
gio/gcredentials.h
@@
-20,6
+20,10
@@
* Author: David Zeuthen <davidz@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_CREDENTIALS_H__
#define __G_CREDENTIALS_H__