summaryrefslogtreecommitdiff
path: root/vsprintf.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-05-01 22:49:49 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-05-01 22:49:49 +0000
commita5fd66b7b94b88c7d9fe1fe1f47c3faabb7b3191 (patch)
tree6d7b162ce48a6373401688d43ce79d9ba3822886 /vsprintf.c
parente263e3b8131ad9d60c0e91d1307ae16437bc2c06 (diff)
downloadstrace-a5fd66b7b94b88c7d9fe1fe1f47c3faabb7b3191.tar.gz
strace-a5fd66b7b94b88c7d9fe1fe1f47c3faabb7b3191.tar.bz2
strace-a5fd66b7b94b88c7d9fe1fe1f47c3faabb7b3191.tar.xz
* vsprintf.c: Check for USE_CUSTOM_PRINTF earlier.
Diffstat (limited to 'vsprintf.c')
-rw-r--r--vsprintf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vsprintf.c b/vsprintf.c
index 71bdf8c..b66609a 100644
--- a/vsprintf.c
+++ b/vsprintf.c
@@ -10,11 +10,12 @@
*/
#include "defs.h"
-#include <stdarg.h>
-#include <limits.h>
#ifdef USE_CUSTOM_PRINTF
+#include <stdarg.h>
+#include <limits.h>
+
#define noinline_for_stack /*nothing*/
#define likely(expr) (expr)
#define unlikely(expr) (expr)