diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2022-08-15 16:39:07 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-09-23 09:47:25 +0300 |
commit | 375f410acb2b719e407400a79c1a3ab899b7dd97 (patch) | |
tree | e7aadbe4fba7bcd55961180247afaf05405e5889 /test | |
parent | d00f2d76eacdc93a361f60a950dd01a0ae0cb400 (diff) |
validation: common: add missing guard
Added guarding #ifndef to avoid re-definition of _GNU_SOURCE.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/common/odp_cunit_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/common/odp_cunit_common.c b/test/common/odp_cunit_common.c index dbc6cf3d8..501e5fc98 100644 --- a/test/common/odp_cunit_common.c +++ b/test/common/odp_cunit_common.c @@ -6,7 +6,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include <stdlib.h> #include <string.h> |