summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctex/synctex_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/synctex/synctex_parser.c')
-rw-r--r--Build/source/texk/web2c/synctex/synctex_parser.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/synctex/synctex_parser.c b/Build/source/texk/web2c/synctex/synctex_parser.c
index 57717ca7279..187c13d25cb 100644
--- a/Build/source/texk/web2c/synctex/synctex_parser.c
+++ b/Build/source/texk/web2c/synctex/synctex_parser.c
@@ -33,6 +33,8 @@ authorization from the copyright holder.
*/
+#include "web2c/c-auto.h" /* for inline && HAVE_xxx */
+
#include "stddef.h"
#include "stdio.h"
#include "stdlib.h"
@@ -43,7 +45,7 @@ authorization from the copyright holder.
#include "errno.h"
#ifdef HAVE_LOCALE_H
-#include "locale.h"
+#include <locale.h>
#endif
/* This custom malloc functions initializes to 0 the newly allocated memory. */
@@ -3031,7 +3033,7 @@ we_are_done:
do {
switch((node->class)->type) {
default:
- candidate = fabsf(synctex_node_visible_h(node)-h);
+ candidate = fabs(synctex_node_visible_h(node)-h);
if(candidate<best) {
best = candidate;
best_node = node;