summaryrefslogtreecommitdiff
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2015-11-25 17:42:31 +0100
committerAlexander Traud <pabstraud@compuserve.com>2015-11-30 13:31:21 +0100
commit270f7be54f608b469ad1bcd927fc19a6d8f7ccad (patch)
treed8ce5b16879e487efb7d6919770aaed9178c2713 /include/asterisk/compat.h
parente4ba64691754c7873fba52e36c74cfc71e0a053c (diff)
Build System: Support include-what-you-use.
ASTERISK-25591 #close Change-Id: I8d3efa0826142ece9cbed2fd0d46f3b607fee6ae
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r--include/asterisk/compat.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index c9c99c150..3eb6c96a2 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -15,10 +15,12 @@
* especially those related to header files.
*/
-#include "asterisk/compiler.h"
-
#ifndef _COMPAT_H
#define _COMPAT_H
+/* IWYU pragma: private, include "asterisk.h" */
+/* IWYU pragma: begin_exports */
+
+#include "asterisk/compiler.h"
#ifndef __STDC_VERSION__
/* flex output wants to find this defined. */
@@ -231,5 +233,5 @@ float roundf(float x);
#ifndef NAN
#define NAN (0.0/0.0)
#endif
-
+/* IWYU pragma: end_exports */
#endif