From f2ad2c5679fdcf8c3d60dc966f6d2dab948a0e41 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 2 Nov 2016 16:56:21 -0600 Subject: [PATCH] upm_math.h: use new platform defines, include math.h on zephyr platforms Signed-off-by: Jon Trulson --- include/upm_math.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/upm_math.h b/include/upm_math.h index de423ed1..7b8122b5 100644 --- a/include/upm_math.h +++ b/include/upm_math.h @@ -1,5 +1,6 @@ /* * Authors: + * Jon Trulson * Copyright (c) 2016 Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining @@ -24,11 +25,13 @@ #ifndef UPM_MATH_H_ #define UPM_MATH_H_ +#include + #ifdef __cplusplus extern "C" { #endif -#ifdef linux +#if defined(UPM_PLATFORM_LINUX) || defined(UPM_PLATFORM_ZEPHYR) #include #endif