X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FStg.h;h=06a866256e0d94408d2f72a6f5443a6964889af2;hb=ad379ff7e22681c09ec7b50bc00d2d6cd3ae3263;hp=341cda36687b92cb27d7d32729c28815774635fa;hpb=dd56e9ab4544e83d27532a8d9058140bfe81825c;p=ghc-hetmet.git diff --git a/includes/Stg.h b/includes/Stg.h index 341cda3..06a8662 100644 --- a/includes/Stg.h +++ b/includes/Stg.h @@ -35,6 +35,10 @@ // Turn on C99 for .hc code. This gives us the INFINITY and NAN // constants from math.h, which we occasionally need to use in .hc (#1861) # define _ISOC99_SOURCE + +// We need _BSD_SOURCE so that math.h defines things like gamma +// on Linux +# define _BSD_SOURCE #endif #if IN_STG_CODE == 0