# HG changeset patch # User diego # Date 1232927721 0 # Node ID 0ec2ac66f06422866535364eaf6eb4ce74936a00 # Parent 7f31bbff8ddbc835cf12fa242b15fd865e683fd1 Fix build: Add required header and adjust preprocessor check. diff -r 7f31bbff8ddb -r 0ec2ac66f064 libaf/af_format.c --- 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 #include +#include "config.h" // Integer to float conversion through lrintf() -#ifdef HAVE_LRINTF +#if HAVE_LRINTF #include long int lrintf(float); #else