Added (commented out_ CFLAGS to enable compilation on MAC OSX. Also
added a short paragraph to the INSTALL with a pointer to the Makefile
If you insist on using the vendor-supplied curses library, see the
platform-specific info below.
+For MAC OS/X users, check the Makefile, and uncomment the line that
+adds the "-D_DARWIN_SOURCE" and "-D_XOPEN_SOURCE=600" CFLAGS.
+
It's always a good idea to have the GNU version of make(1) around.
# Enable compiler warnings. This is an absolute minimum.
CFLAGS += -Wall -std=c99 #-Wextra
+# If compiling on OS/X add the following
+# CFLAGS += -D_DARWIN_C_SOURCE -_XOPEN_SOURCE=600
+
# strdup, strndup
CFLAGS += -D_POSIX_C_SOURCE=200809L