diff --git a/headers/compatibility/gnu/math.h b/headers/compatibility/gnu/math.h new file mode 100644 index 0000000000..95ee4cb1ee --- /dev/null +++ b/headers/compatibility/gnu/math.h @@ -0,0 +1,31 @@ +/* + * Copyright 2018 Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ +#ifndef _GNU_MATH_H_ +#define _GNU_MATH_H_ + + +#include_next + + +#ifdef _GNU_SOURCE + + +#ifdef __cplusplus +extern "C" { +#endif + +extern void sincos(double x, double *sin, double *cos); +extern void sincosf(float x, float *sin, float *cos); +extern void sincosl(long double x, long double *sin, long double *cos); + +#ifdef __cplusplus +} +#endif + + +#endif + + +#endif /* _GNU_MATH_H_ */