diff netio.c @ 1428:69862e8cc405 fuzz

merge from main
author Matt Johnston <matt@ucc.asn.au>
date Sat, 24 Jun 2017 00:47:07 +0800
parents f03cfe9c76ac 89f8c5960527
children 5916af64acd4
line wrap: on
line diff
--- a/netio.c	Fri Jun 23 21:31:49 2017 +0800
+++ b/netio.c	Sat Jun 24 00:47:07 2017 +0800
@@ -307,7 +307,7 @@
 #ifdef IPTOS_LOWDELAY
 	int iptos_val = 0;
 #endif
-#ifdef SO_PRIORITY
+#ifdef HAVE_LINUX_PKT_SCHED_H
 	int so_prio_val = 0;
 #endif
 
@@ -340,7 +340,7 @@
 	}
 #endif
 
-#ifdef SO_PRIORITY
+#ifdef HAVE_LINUX_PKT_SCHED_H
 	if (prio == DROPBEAR_PRIO_LOWDELAY) {
 		so_prio_val = TC_PRIO_INTERACTIVE;
 	} else if (prio == DROPBEAR_PRIO_BULK) {