diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-05-07 14:57:13 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-05-08 08:53:51 +0100 |
commit | d8fb6a03d3034cf776687bcc1f0625a8a9f2ae07 (patch) | |
tree | 5ca0eb2e1cf1c7203a5b3a9df40b1675ba47267c /src/cairo-path-stroke.c | |
parent | e38f85c5de51016b8858e755e2752816c9995ab2 (diff) | |
download | cairo-d8fb6a03d3034cf776687bcc1f0625a8a9f2ae07.tar.gz |
[path] Define _BSD_SOURCE to enable hypot()
hypot() is only declared for BSD/SVID/XOPEN/C99 sources. Choose BSD as
we've used that elsewhere.
Diffstat (limited to 'src/cairo-path-stroke.c')
-rw-r--r-- | src/cairo-path-stroke.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-path-stroke.c b/src/cairo-path-stroke.c index 37ac79c7e..79bf09b0b 100644 --- a/src/cairo-path-stroke.c +++ b/src/cairo-path-stroke.c @@ -35,6 +35,7 @@ * Carl D. Worth <cworth@cworth.org> */ +#define _BSD_SOURCE /* for hypot() */ #include "cairoint.h" #include "cairo-path-fixed-private.h" |