From 6c7f11f396798c6d93490c10c07770d48521646a Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 25 Apr 2007 00:17:06 +0200 Subject: [PATCH] myplugin.c: Include string.h and math.h. --- debian/examples/myplugin.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/debian/examples/myplugin.c b/debian/examples/myplugin.c index 1979e2d..2b3212a 100644 --- a/debian/examples/myplugin.c +++ b/debian/examples/myplugin.c @@ -21,6 +21,18 @@ #include #include +#include + +#ifndef __USE_ISOC99 /* required for NAN */ +# define DISABLE_ISOC99 1 +# define __USE_ISOC99 1 +#endif /* !defined(__USE_ISOC99) */ +#include +#if DISABLE_ISOC99 +# undef DISABLE_ISOC99 +# undef __USE_ISOC99 +#endif /* DISABLE_ISOC99 */ + #include #include #include -- 2.30.2