summaryrefslogtreecommitdiff
path: root/src/libexif
diff options
context:
space:
mode:
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;