Update posix source version on monkey frontend to reflect oyr usage of scandir

This commit is contained in:
Vincent Sanders 2015-05-03 14:46:29 +01:00
parent f6dde27dd2
commit 408e818cbe
2 changed files with 2 additions and 2 deletions

View File

@ -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) \

View File

@ -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;