aboutsummaryrefslogtreecommitdiff
path: root/helper
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>2017-08-21 17:15:12 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-08-25 16:00:23 +0300
commitcd17794642638d6ee65b97bed9df5ddcd2cb2520 (patch)
treef81959a21e31cfd11e129211624167b429be2338 /helper
parent0a7686e47e40db0f5f6b862d16e8b021da23f90b (diff)
helper: use config.h header
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'helper')
-rw-r--r--helper/chksum.c2
-rw-r--r--helper/cuckootable.c2
-rw-r--r--helper/eth.c2
-rw-r--r--helper/hashtable.c3
-rw-r--r--helper/ip.c2
-rw-r--r--helper/iplookuptable.c2
-rw-r--r--helper/lineartable.c2
-rw-r--r--helper/linux/thread.c2
-rw-r--r--helper/test/chksum.c2
-rw-r--r--helper/test/cuckootable.c2
-rw-r--r--helper/test/iplookuptable.c2
-rw-r--r--helper/test/linux/process.c2
-rw-r--r--helper/test/linux/pthread.c2
-rw-r--r--helper/test/odpthreads.c2
-rw-r--r--helper/test/parse.c2
-rw-r--r--helper/test/table.c2
-rw-r--r--helper/threads.c2
17 files changed, 35 insertions, 0 deletions
diff --git a/helper/chksum.c b/helper/chksum.c
index ae70d97e6..f8303b4e1 100644
--- a/helper/chksum.c
+++ b/helper/chksum.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include <odp.h>
#include <odp/helper/ip.h>
#include <odp/helper/udp.h>
diff --git a/helper/cuckootable.c b/helper/cuckootable.c
index 32800911a..4707191d7 100644
--- a/helper/cuckootable.c
+++ b/helper/cuckootable.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
/*-
* BSD LICENSE
*
diff --git a/helper/eth.c b/helper/eth.c
index 9a151fa23..b7c2c6b79 100644
--- a/helper/eth.c
+++ b/helper/eth.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include <odp/helper/eth.h>
#include <stdio.h>
diff --git a/helper/hashtable.c b/helper/hashtable.c
index f26b18b27..b124c2d7a 100644
--- a/helper/hashtable.c
+++ b/helper/hashtable.c
@@ -3,6 +3,9 @@
*
* SPDX-License-Identifier: BSD-3-Clause
*/
+
+#include "config.h"
+
#include <stdio.h>
#include <string.h>
#include <malloc.h>
diff --git a/helper/ip.c b/helper/ip.c
index eb73e5a08..463a45d09 100644
--- a/helper/ip.c
+++ b/helper/ip.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include <odp/helper/ip.h>
#include <stdio.h>
diff --git a/helper/iplookuptable.c b/helper/iplookuptable.c
index ac7d05872..7ca68de27 100644
--- a/helper/iplookuptable.c
+++ b/helper/iplookuptable.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include <string.h>
#include <stdint.h>
#include <errno.h>
diff --git a/helper/lineartable.c b/helper/lineartable.c
index dd4a59958..831eb11b2 100644
--- a/helper/lineartable.c
+++ b/helper/lineartable.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include <stdio.h>
#include <string.h>
#include <malloc.h>
diff --git a/helper/linux/thread.c b/helper/linux/thread.c
index 52d4efc5e..94ab83a9a 100644
--- a/helper/linux/thread.c
+++ b/helper/linux/thread.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
diff --git a/helper/test/chksum.c b/helper/test/chksum.c
index 1beae47f1..914eab04a 100644
--- a/helper/test/chksum.c
+++ b/helper/test/chksum.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include "odph_debug.h"
#include <odp_api.h>
#include <odp/helper/odph_api.h>
diff --git a/helper/test/cuckootable.c b/helper/test/cuckootable.c
index be655911f..ebe791678 100644
--- a/helper/test/cuckootable.c
+++ b/helper/test/cuckootable.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
/*-
* BSD LICENSE
*
diff --git a/helper/test/iplookuptable.c b/helper/test/iplookuptable.c
index b5d774cbc..e56e22c4a 100644
--- a/helper/test/iplookuptable.c
+++ b/helper/test/iplookuptable.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdint.h>
#include <string.h>
diff --git a/helper/test/linux/process.c b/helper/test/linux/process.c
index e1ab8c830..12504d01b 100644
--- a/helper/test/linux/process.c
+++ b/helper/test/linux/process.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include <odph_debug.h>
#include <odp_api.h>
#include <odp/helper/linux/pthread.h>
diff --git a/helper/test/linux/pthread.c b/helper/test/linux/pthread.c
index 3422751fd..a50df027f 100644
--- a/helper/test/linux/pthread.c
+++ b/helper/test/linux/pthread.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include <odph_debug.h>
#include <odp_api.h>
#include <odp/helper/linux/pthread.h>
diff --git a/helper/test/odpthreads.c b/helper/test/odpthreads.c
index ab890cb3a..9ac269e8b 100644
--- a/helper/test/odpthreads.c
+++ b/helper/test/odpthreads.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
/*
* This program tests the ability of the linux helper to create ODP threads,
* either implemented as linux pthreads or as linux processes, depending on
diff --git a/helper/test/parse.c b/helper/test/parse.c
index 0429f2cc3..d5f7b251e 100644
--- a/helper/test/parse.c
+++ b/helper/test/parse.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#include <odph_debug.h>
#include <odp_api.h>
diff --git a/helper/test/table.c b/helper/test/table.c
index ac454da5e..b3d17e1f9 100644
--- a/helper/test/table.c
+++ b/helper/test/table.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier:BSD-3-Clause
*/
+#include "config.h"
+
#include <odph_debug.h>
#include <odp/helper/odph_api.h>
#include <odp_api.h>
diff --git a/helper/threads.c b/helper/threads.c
index cb747e5bf..a83014d42 100644
--- a/helper/threads.c
+++ b/helper/threads.c
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include "config.h"
+
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif