summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;