git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@74615
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
CHANNEL_LIBS+=chan_phone.so
endif
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/compiler.h),)
+ CFLAGS+=-DHAVE_LINUX_COMPILER_H
+endif
+
ifneq ($(wildcard h323/libchanh323.a),)
CHANNEL_LIBS+=chan_h323.so
endif
#include <arpa/inet.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#ifdef HAVE_LINUX_COMPILER_H
+#include <linux/compiler.h>
+#endif
#include <linux/telephony.h>
/* Still use some IXJ specific stuff */
#include <linux/version.h>