summaryrefslogtreecommitdiff
path: root/src/polkit/polkiterror.h
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-02-09 17:08:53 -0500
committerDavid Zeuthen <davidz@redhat.com>2009-02-09 17:08:53 -0500
commit8c71e37ae4e97b9d456c465a04b6d75ec44b896e (patch)
tree603417d6f31971f71f35f190021248fbae415f7d /src/polkit/polkiterror.h
parentb891d8a3245d364975cecb2289c442f54b2327c6 (diff)
downloadpolkit-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.h4
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