summaryrefslogtreecommitdiff
path: root/test/pdiff/pdiff.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2006-12-17 14:31:39 -0500
committerBehdad Esfahbod <behdad@behdad.org>2006-12-17 14:32:08 -0500
commit0bea2ce7f7e9c4b46d1125b07ed719fbb8b7102c (patch)
treebec23ac902cf27022a5dde7ababbf583cc47c912 /test/pdiff/pdiff.c
parent2ca6a767ee067742205ee76f891e36c8ec36135e (diff)
[pdiff] Define _GNU_SOURCE to get correct symbols out of <math.h>
math.h does not define __USE_ISOC99 otherwise.
Diffstat (limited to 'test/pdiff/pdiff.c')
-rw-r--r--test/pdiff/pdiff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pdiff/pdiff.c b/test/pdiff/pdiff.c
index 4d50f013..91e0cafe 100644
--- a/test/pdiff/pdiff.c
+++ b/test/pdiff/pdiff.c
@@ -14,6 +14,8 @@
if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#define _GNU_SOURCE
+
#include "lpyramid.h"
#include <math.h>
#include <stdio.h>