summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libaf/af_format.c3
-rwxr-xr-xversion.sh4
2 files changed, 4 insertions, 3 deletions
diff --git a/libaf/af_format.c b/libaf/af_format.c
index fdac68147e..5e53c1ae99 100644
--- a/libaf/af_format.c
+++ b/libaf/af_format.c
@@ -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
diff --git a/version.sh b/version.sh
index 50a757c333..34c65a34ed 100755
--- a/version.sh
+++ b/version.sh
@@ -7,9 +7,9 @@ test $svn_revision || svn_revision=`grep revision .svn/entries 2>/dev/null | cut
test $svn_revision || svn_revision=`sed -n -e '/^dir$/{n;p;q;}' .svn/entries 2>/dev/null`
test $svn_revision || svn_revision=UNKNOWN
-NEW_REVISION="#define VERSION \"dev-SVN-r${svn_revision}${extra}\""
+NEW_REVISION="#define VERSION \"SVN-r${svn_revision}${extra}\""
OLD_REVISION=`cat version.h 2> /dev/null`
-TITLE="#define MP_TITLE \"%s dev-SVN-r${svn_revision}${extra} (C) 2000-2009 MPlayer Team\\\n\""
+TITLE="#define MP_TITLE \"%s SVN-r${svn_revision}${extra} (C) 2000-2009 MPlayer Team\\\n\""
# Update version.h only on revision changes to avoid spurious rebuilds
if test "$NEW_REVISION" != "$OLD_REVISION"; then