diff options
-rw-r--r-- | includes/Stg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/Stg.h b/includes/Stg.h index f09fc00966..899e685635 100644 --- a/includes/Stg.h +++ b/includes/Stg.h @@ -48,6 +48,11 @@ // on Linux # define _BSD_SOURCE +// On AIX we need _BSD defined, otherwise <math.h> includes <stdlib.h> +# if defined(_AIX) +# define _BSD 1 +# endif + // '_BSD_SOURCE' is deprecated since glibc-2.20 // in favour of '_DEFAULT_SOURCE' # define _DEFAULT_SOURCE |