Skip to content

Commit 4d375a9

Browse files
committed
Include cdefs-compat.h on s390 and powerpc
They use __BEGIN_DECLS which might not be avaiable without cdefs-compat.h
1 parent 3072e31 commit 4d375a9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

include/openlibm_fenv_powerpc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
#include <stdint.h>
3333
#include <sys/types.h>
34+
#include "cdefs-compat.h"
3435

3536
#ifndef __fenv_static
3637
#define __fenv_static static

include/openlibm_fenv_s390.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
#include <stdint.h>
3333
#include <sys/types.h>
34+
#include "cdefs-compat.h"
3435

3536
#ifndef __fenv_static
3637
#define __fenv_static static

0 commit comments

Comments
 (0)