diff --git a/linenoise.c b/linenoise.c
index cfe51e7..dcc171e 100644
--- a/linenoise.c
+++ b/linenoise.c
@@ -193,7 +193,7 @@ FILE *lndebug_fp = NULL;
fflush(lndebug_fp); \
} while (0)
#else
-#define lndebug(fmt, ...)
+#define lndebug(...)
#endif
/* ======================= Low level terminal handling ====================== */
@@ -1223,3 +1223,46 @@ int linenoiseHistoryLoad(const char *filename) {
fclose(fp);
return 0;
}
+
+char linenoise_licence[] =
+ " linenoise.c -- guerrilla line editing library against the idea that a\n"
+ " line editing lib needs to be 20,000 lines of C code.\n"
+ "\n"
+ " You can find the latest source code at:\n"
+ "\n"
+ " http://github.com/antirez/linenoise\n"
+ "\n"
+ " Does a number of crazy assumptions that happen to be true in 99.9999% of\n"
+ " the 2010 UNIX computers around.\n"
+ "\n"
+ " ------------------------------------------------------------------------\n"
+ "\n"
+ " Copyright (c) 2010-2016, Salvatore Sanfilippo <antirez at gmail dot com>\n"
+ " Copyright (c) 2010-2013, Pieter Noordhuis <pcnoordhuis at gmail dot com>\n"
+ "\n"
+ " All rights reserved.\n"
+ "\n"
+ " Redistribution and use in source and binary forms, with or without\n"
+ " modification, are permitted provided that the following conditions are\n"
+ " met:\n"
+ "\n"
+ " * Redistributions of source code must retain the above copyright\n"
+ " notice, this list of conditions and the following disclaimer.\n"
+ "\n"
+ " * Redistributions in binary form must reproduce the above copyright\n"
+ " notice, this list of conditions and the following disclaimer in the\n"
+ " documentation and/or other materials provided with the distribution.\n"
+ "\n"
+ " THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n"
+ " \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n"
+ " LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n"
+ " A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n"
+ " HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n"
+ " SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n"
+ " LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n"
+ " DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n"
+ " THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n"
+ " (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n"
+ " OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
+ "\n"
+ " ------------------------------------------------------------------------\n";