changeset 28333:0ec2ac66f064

Fix build: Add required header and adjust preprocessor check.
author diego
date Sun, 25 Jan 2009 23:55:21 +0000
parents 7f31bbff8ddb
children 9e4c389f670f
files libaf/af_format.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af_format.c	Sun Jan 25 23:31:45 2009 +0000
+++ b/libaf/af_format.c	Sun Jan 25 23:55:21 2009 +0000
@@ -26,8 +26,9 @@
 #include <inttypes.h>
 #include <limits.h>
 
+#include "config.h"
 // Integer to float conversion through lrintf()
-#ifdef HAVE_LRINTF
+#if HAVE_LRINTF
 #include <math.h>
 long int lrintf(float);
 #else