diff options
author | David Zeuthen <davidz@redhat.com> | 2009-02-09 17:08:53 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-02-09 17:08:53 -0500 |
commit | 8c71e37ae4e97b9d456c465a04b6d75ec44b896e (patch) | |
tree | 603417d6f31971f71f35f190021248fbae415f7d /src/polkit/polkiterror.h | |
parent | b891d8a3245d364975cecb2289c442f54b2327c6 (diff) | |
download | polkit-8c71e37ae4e97b9d456c465a04b6d75ec44b896e.tar.gz |
prune TODO list and fix up single-header-file / API guard checks
Diffstat (limited to 'src/polkit/polkiterror.h')
-rw-r--r-- | src/polkit/polkiterror.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/polkit/polkiterror.h b/src/polkit/polkiterror.h index 780af7f..733c9a6 100644 --- a/src/polkit/polkiterror.h +++ b/src/polkit/polkiterror.h @@ -19,6 +19,10 @@ * Author: David Zeuthen <davidz@redhat.com> */ +#if !defined (_POLKIT_COMPILATION) && !defined(_POLKIT_INSIDE_POLKIT_H) +#error "Only <polkit/polkit.h> can be included directly, this file may disappear or change contents." +#endif + #ifndef __POLKIT_ERROR_H #define __POLKIT_ERROR_H |