diff options
Diffstat (limited to 'misc/wmweather+/files/patch-metar.c')
-rw-r--r-- | misc/wmweather+/files/patch-metar.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/wmweather+/files/patch-metar.c b/misc/wmweather+/files/patch-metar.c new file mode 100644 index 000000000000..1dc32ff021ae --- /dev/null +++ b/misc/wmweather+/files/patch-metar.c @@ -0,0 +1,11 @@ +--- metar.orig Sun Sep 22 22:00:53 2002 ++++ metar.c Wed Jul 28 11:44:50 2004 +@@ -36,6 +36,9 @@ + #include <string.h> + #include <ctype.h> + #include <math.h> ++#ifndef NAN ++#define NAN (0.0/0.0) ++#endif + #include <sys/stat.h> + #include <sys/wait.h> |