gcc/libsanitizer/include/system/linux/perf_event.h
Jakub Jelinek 2613419a70 Makefile.am (AM_CPPFLAGS): Add -isystem $(top_srcdir)/include/system.
* sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
	-isystem $(top_srcdir)/include/system.
	* sanitizer_common/Makefile.in: Regenerated.
	* include/system/linux/aio_abi.h: New header.
	* include/system/linux/mroute.h: New header.
	* include/system/linux/mroute6.h: New header.
	* include/system/linux/perf_event.h: New header.
	* include/system/linux/types.h: New header.

From-SVN: r206476
2014-01-09 19:15:41 +01:00

8 lines
212 B
C

#include <linux/version.h>
/* <linux/perf_event.h> has been added in 2.6.32 */
#if LINUX_VERSION_CODE >= 132640
#include_next <linux/perf_event.h>
#else
#define perf_event_attr __sanitizer_perf_event_attr
#endif