From fc8ac1772dd5daafbbbbe8e85cd08d7ce2513f60 Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@fh-muenster.de>
Date: Fri, 2 Oct 2015 21:00:08 +0200
Subject: [PATCH] Fix compilation on Linux.

---
 gtests/net/packetdrill/run_system_call.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c
index 0387e2c3..d5853bb1 100644
--- a/gtests/net/packetdrill/run_system_call.c
+++ b/gtests/net/packetdrill/run_system_call.c
@@ -262,6 +262,7 @@ static int get_s16(struct expression *expression,
 }
 #endif
 
+#ifdef SPP_DSCP
 /* Sets the value from the expression argument, checking that it is a
  * valid u8, and matches the expected type. Returns STATUS_OK on
  * success; on failure returns STATUS_ERR and sets error message.
@@ -281,6 +282,7 @@ static int get_u8(struct expression *expression,
         *value = expression->value.num;
         return STATUS_OK;
 }
+#endif
 
 #if 0
 /* Sets the value from the expression argument, checking that it is a
-- 
GitLab