]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/_helpers.c
Avoid readline.h -Wstrict-prototype induced failures
[bup.git] / lib / bup / _helpers.c
index 009c96e710ca8117e05d6774b61a8c149e149a3b..b2eb7819a3fe4b2ab65aa09e7d2b583cf1ce6c11 100644 (file)
 #endif
 
 #ifdef BUP_HAVE_READLINE
-#include <readline/readline.h>
-#include <readline/history.h>
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wstrict-prototypes"
+# include <readline/readline.h>
+# include <readline/history.h>
+# pragma GCC diagnostic pop
 #endif
 
 #include "bupsplit.h"