summaryrefslogtreecommitdiff
path: root/src/libexif
diff options
context:
space:
mode:
authorscuri <scuri>2009-10-01 16:12:24 +0000
committerscuri <scuri>2009-10-01 16:12:24 +0000
commit7ee7fffc385a101bf9a63a5f1e01e485f8e38232 (patch)
tree68683fc0c3abcee491d58998f44f540cb7d15603 /src/libexif
parent807e4d06f75bd58024de74ce814fdd2648864fec (diff)
*** empty log message ***
Diffstat (limited to 'src/libexif')
-rw-r--r--src/libexif/exif-entry.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libexif/exif-entry.c b/src/libexif/exif-entry.c
index 02ec510..349c19f 100644
--- a/src/libexif/exif-entry.c
+++ b/src/libexif/exif-entry.c
@@ -33,6 +33,11 @@
#define _USE_MATH_DEFINES /* required by MS compilers to define M_PI */
#include <math.h>
+/* not defined by OpenWatcom */
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
struct _ExifEntryPrivate
{
unsigned int ref_count;