Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From 451b162c903a1ef070a75dc18171620f3beef7b3 Mon Sep 17 00:00:00 2001 |
| 2 | From: Ankit Navik <ankit.tarot@gmail.com> |
| 3 | Date: Tue, 25 Dec 2018 00:36:59 +0530 |
| 4 | Subject: [PATCH 2/3] Add missing include, removes unnedded stuff and add non |
| 5 | glibc rpc |
| 6 | |
| 7 | Upstream-Status: Inappropriate [embedded specific] |
| 8 | |
| 9 | Signed-off-by: Reto Schneider <code@reto-schneider.ch> |
| 10 | Signed-off-by: Ankit Navik <ankit.tarot@gmail.com> |
| 11 | --- |
| 12 | Makefile | 2 +- |
| 13 | inc/wfa_tg.h | 3 +++ |
| 14 | 2 files changed, 4 insertions(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/Makefile b/Makefile |
| 17 | index 2c41a17..5c4ad8c 100644 |
| 18 | --- a/Makefile |
| 19 | +++ b/Makefile |
| 20 | @@ -15,7 +15,7 @@ |
| 21 | # |
| 22 | include Makefile.inc |
| 23 | |
| 24 | -DIRS= ${LIB} ${DUT} ${CA} ${TC} ${WTG} ${CON} |
| 25 | +DIRS= ${LIB} ${DUT} ${CA} ${TC} |
| 26 | |
| 27 | all: |
| 28 | for i in ${DIRS}; do \ |
| 29 | diff --git a/inc/wfa_tg.h b/inc/wfa_tg.h |
| 30 | index 799bf9f..a1804dd 100644 |
| 31 | --- a/inc/wfa_tg.h |
| 32 | +++ b/inc/wfa_tg.h |
| 33 | @@ -24,6 +24,9 @@ |
| 34 | #ifndef _WFA_TG_H |
| 35 | #define _WFA_TG_H |
| 36 | |
| 37 | +#ifndef _WINDOWS |
| 38 | +#include <pthread.h> |
| 39 | +#endif |
| 40 | #include <sys/time.h> |
| 41 | |
| 42 | /* maximum number of streams to support */ |
| 43 | -- |
| 44 | 2.7.4 |
| 45 | |