summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-05-03 14:46:29 +0100
committerVincent Sanders <vince@kyllikki.org>2015-05-03 14:46:29 +0100
commit408e818cbeaf32d3e5fddc6c6110b4caf06098d5 (patch)
tree7e1b8b8fdbaa400a6dd8b754eab85f21e291a072
parentf6dde27dd2aa11c5ac4ebe2e8c51ce9b1fcea79d (diff)
downloadnetsurf-408e818cbeaf32d3e5fddc6c6110b4caf06098d5.tar.gz
netsurf-408e818cbeaf32d3e5fddc6c6110b4caf06098d5.tar.bz2
Update posix source version on monkey frontend to reflect oyr usage of scandir
-rw-r--r--monkey/Makefile.target2
-rw-r--r--utils/utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/monkey/Makefile.target b/monkey/Makefile.target
index 4f73ad068..62ab2ab82 100644
--- a/monkey/Makefile.target
+++ b/monkey/Makefile.target
@@ -35,7 +35,7 @@ CFLAGS += -std=c99 -Dmonkey -Dnsmonkey -g \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
-D_XOPEN_SOURCE=600 \
- -D_POSIX_C_SOURCE=200112L \
+ -D_POSIX_C_SOURCE=200809L \
-D_NETBSD_SOURCE \
-DMONKEY_RESPATH=\"$(NETSURF_MONKEY_RESOURCES)\" \
$(shell $(PKG_CONFIG) --cflags glib-2.0) \
diff --git a/utils/utils.c b/utils/utils.c
index 5c8acd6f0..0af9be508 100644
--- a/utils/utils.c
+++ b/utils/utils.c
@@ -356,7 +356,7 @@ char *strndup(const char *s, size_t n)
#endif
-/* Exported interface, documented in utils.c */
+/* Exported interface, documented in utils.h */
int dir_sort_alpha(const struct dirent **d1, const struct dirent **d2)
{
const char *s1 = (*d1)->d_name;