diff --git a/include/wine/port.h b/include/wine/port.h index 8039a8732e7..28c16238bf3 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -27,6 +27,7 @@ #define _GNU_SOURCE /* for pread/pwrite */ #include +#include #include #include #ifdef HAVE_DIRECT_H @@ -116,6 +117,20 @@ struct statfs; # define O_LARGEFILE 0 #endif + +/**************************************************************** + * Constants + */ + +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + +#ifndef M_PI_2 +#define M_PI_2 1.570796326794896619 +#endif + + /* Macros to define assembler functions somewhat portably */ #ifdef __GNUC__