| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | # If you want linenoise, you can enable these. At the moment linenoise |
| 6 | # will cause some harmless compilation warnings. |
| 7 | -#CCOPTS += -DDUK_CMDLINE_FANCY -I./linenoise |
| 8 | -#CMDLINE_SOURCES += linenoise/linenoise.c |
| 9 | +CCOPTS += -DDUK_CMDLINE_FANCY -D_BSD_SOURCE -I./linenoise |
| 10 | +CMDLINE_SOURCES += linenoise/linenoise.c |
| 11 | #duk: linenoise |
| 12 | |
| 13 | # Use the tools/configure.py utility to modify Duktape default configuration: |