Add guard to prevent individual headers from being included directly.

This commit is contained in:
Daiki Ueno
2011-04-28 13:03:21 +09:00
parent 66cea3a0b5
commit 4b409de5ba
22 changed files with 95 additions and 7 deletions

View File

@ -17,6 +17,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#if !defined(__EEK_H_INSIDE__) && !defined(EEK_COMPILATION)
#error "Only <eek/eek.h> can be included directly."
#endif
#ifndef EEK_KEYSYM_H
#define EEK_KEYSYM_H 1