Fix compilation by including cdefs-compat.h in math_private.h

Also fix redefinition of __pure2
This commit is contained in:
Elliot Saba 2014-06-05 22:08:41 -07:00
parent 79190aafa9
commit e9d02ee729
2 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#ifndef _MATH_PRIVATE_H_
#define _MATH_PRIVATE_H_
#include "cdefs-compat.h"
#include "types-compat.h"
#include "fpmath.h"
#include <complex.h>

View File

@ -27,7 +27,9 @@
#define LONG_DOUBLE
#endif
#ifndef __pure2
#define __pure2
#endif
/*
* ANSI/POSIX