Changed include paths to be explicitly specified in the #include directive.
[pspp-builds.git] / src / output / groff-font.c
index b08ee636cd9853279438c8910cc3c35267f47a4f..4817084f6db006fd66a9f501ea1a17a563e30c11 100644 (file)
 
 #include <config.h>
 #include "font.h"
-#include "message.h"
+#include <libpspp/message.h>
 #include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>
 #include <limits.h>
 #include <stdarg.h>
-#include "alloc.h"
-#include "message.h"
-#include "filename.h"
+#include <libpspp/alloc.h>
+#include <libpspp/compiler.h>
+#include <libpspp/message.h>
+#include <data/filename.h>
 #include "getline.h"
-#include "hash.h"
-#include "pool.h"
-#include "str.h"
-#include "version.h"
+#include <libpspp/hash.h>
+#include "intprops.h"
+#include <libpspp/pool.h>
+#include <libpspp/str.h>
+#include <libpspp/version.h>
 
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
@@ -539,7 +541,7 @@ font_char_name_to_index (const char *name)
 int
 font_number_to_index (int x)
 {
-  char name[INT_DIGITS + 2];
+  char name[INT_STRLEN_BOUND (x) + 2];
 
   /* Note that space is the only character that can't appear in a
      character name.  That makes it an excellent choice for a name