From e8645c8ceb039bcdec10f8d619d6e146c29a0a1c Mon Sep 17 00:00:00 2001 From: thebeing Date: Thu, 2 Feb 2012 20:09:06 +0000 Subject: [PATCH] Small QNX compatibility tweak. --- block_to_imp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/block_to_imp.c b/block_to_imp.c index 66f8dfa..dd9d46e 100644 --- a/block_to_imp.c +++ b/block_to_imp.c @@ -12,6 +12,12 @@ #include "lock.h" #include "visibility.h" + +/* QNX needs a special header for asprintf() */ +#ifdef __QNXNTO__ +#include +#endif + #define PAGE_SIZE 4096 static void *executeBuffer;