summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-02-23 12:38:42 +0100
committerGuillem Jover <guillem@hadrons.org>2011-05-14 14:18:22 +0200
commit8b6a74775b918f203ceee3d70ca8b9f7e0256b5f (patch)
treea45c2584216c0e30a8d8c0814027cdca0f9e7203 /src
parentc594192bac39e8ec9487f729b22dc0037d58b8c5 (diff)
downloadlibbsd-8b6a74775b918f203ceee3d70ca8b9f7e0256b5f.tar.gz
Conditionalize temporary compatibility inclusions
These inclusions were in place for backward compatibility purposes, when the headers were split so that code using them would not break. Make it possible for applications to disable them by defining LIBBSD_CLEAN_INCLUDES so that buildability can be tested and fixed before they get removed in a subsequent release.
Diffstat (limited to 'src')
-rw-r--r--src/vis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vis.c b/src/vis.c
index 6153a7f..f869ed8 100644
--- a/src/vis.c
+++ b/src/vis.c
@@ -32,6 +32,7 @@
#include <limits.h>
#include <ctype.h>
#include <string.h>
+#include <stdio.h>
#include <vis.h>
#define isoctal(c) (((u_char)(c)) >= '0' && ((u_char)(c)) <= '7')