Преглед на файлове

Include cdefs-compat.h on s390 and powerpc

They use __BEGIN_DECLS which might not be avaiable without cdefs-compat.h
Sertonix преди 4 месеца
родител
ревизия
4d375a922f
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      include/openlibm_fenv_powerpc.h
  2. 1 0
      include/openlibm_fenv_s390.h

+ 1 - 0
include/openlibm_fenv_powerpc.h

@@ -31,6 +31,7 @@
 
 #include <stdint.h>
 #include <sys/types.h>
+#include "cdefs-compat.h"
 
 #ifndef	__fenv_static
 #define	__fenv_static	static

+ 1 - 0
include/openlibm_fenv_s390.h

@@ -31,6 +31,7 @@
 
 #include <stdint.h>
 #include <sys/types.h>
+#include "cdefs-compat.h"
 
 #ifndef	__fenv_static
 #define	__fenv_static	static