projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de64aa8
)
Add a forgotten include guard
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 25 Mar 2012 03:00:15 +0000
(23:00 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 25 Mar 2012 03:00:15 +0000
(23:00 -0400)
gbytes.h was missing the single-include guard.
glib/gbytes.h
patch
|
blob
|
history
diff --git
a/glib/gbytes.h
b/glib/gbytes.h
index a120e211dc51748a1b0653ecbaba0c898815951a..de3c8f808ca925c85fc30fab6f9d73e1d372fa70 100644
(file)
--- a/
glib/gbytes.h
+++ b/
glib/gbytes.h
@@
-21,6
+21,10
@@
* Stef Walter <stefw@collabora.co.uk>
*/
+#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
+#error "Only <glib.h> can be included directly."
+#endif
+
#ifndef __G_BYTES_H__
#define __G_BYTES_H__