summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 12 insertions, 6 deletions
diff --git a/configure b/configure
index fb2d6ec..2cbeb62 100755
--- a/configure
+++ b/configure
@@ -148,11 +148,12 @@ check_tpacket_v3()
#include <stdio.h>
#include <linux/if_packet.h>
-struct tpacket3_hdr *hdr;
-
void main(void)
{
- printf("%d\n", hdr->tp_status);
+ struct tpacket3_hdr *hdr;
+ int foo[] = {
+ TP_STATUS_BLK_TMO,
+ };
}
EOF
@@ -174,11 +175,16 @@ check_tpacket_v2()
#include <stdio.h>
#include <linux/if_packet.h>
-struct tpacket2_hdr *hdr;
-
void main(void)
{
- printf("%d\n", hdr->tp_status);
+ struct tpacket2_hdr *hdr;
+ int foo[] = {
+ TP_STATUS_AVAILABLE,
+ TP_STATUS_SEND_REQUEST,
+ TP_STATUS_SENDING,
+ TP_STATUS_KERNEL,
+ TP_STATUS_USER,
+ };
}
EOF