1dnl Copyright (c) 2017 Richard Palethorpe <rpalethorpe@suse.com> 2dnl 3dnl This program is free software; you can redistribute it and/or modify 4dnl it under the terms of the GNU General Public License as published by 5dnl the Free Software Foundation; either version 2 of the License, or 6dnl (at your option) any later version. 7dnl 8dnl This program is distributed in the hope that it will be useful, 9dnl but WITHOUT ANY WARRANTY; without even the implied warranty of 10dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 11dnl the GNU General Public License for more details. 12dnl 13dnl You should have received a copy of the GNU General Public License 14dnl along with this program. If not, see <http://www.gnu.org/licenses/>. 15 16AC_DEFUN([LTP_CHECK_TPACKET_V3],[ 17AC_CHECK_TYPES([struct tpacket_req3],,,[ 18#ifdef HAVE_LINUX_IF_PACKET_H 19# include <linux/if_packet.h> 20#endif 21]) 22]) 23