summaryrefslogtreecommitdiffhomepage
path: root/netio.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-24 00:47:07 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-06-24 00:47:07 +0800
commit5ac4a710006d5d3d68af99a01e1845792db890ce (patch)
tree50c6c56e64d5d2ef3b8d6ec4f63daf889a8026ef /netio.c
parentb967dc1fa506b2e810a6eb370492bab955e46e14 (diff)
parent521e63529c42513c06a8caa27ef22e93a63e9c38 (diff)
merge from main
--HG-- branch : fuzz
Diffstat (limited to 'netio.c')
-rw-r--r--netio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netio.c b/netio.c
index f5e287a..7f7e54f 100644
--- a/netio.c
+++ b/netio.c
@@ -307,7 +307,7 @@ void set_sock_priority(int sock, enum dropbear_prio prio) {
#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 @@ void set_sock_priority(int sock, enum dropbear_prio prio) {
}
#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) {