Update to ncurses-6.0

Change-Id: I98ab2ea8a5e13cca9f8b7cf6277b9b14a4da4299
diff --git a/doc/ncurses-intro.doc b/doc/ncurses-intro.doc
index 85179d1..1d72f80 100644
--- a/doc/ncurses-intro.doc
+++ b/doc/ncurses-intro.doc
@@ -332,6 +332,7 @@
    function names and parameters as mentioned above.
 
    Here is a sample program to motivate the discussion:
+#include <stdlib.h>
 #include <curses.h>
 #include <signal.h>