summaryrefslogtreecommitdiff
path: root/utils/config.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-11-14 19:01:16 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-11-14 19:01:16 +0000
commit2a09b660401e62884a3f5daa44f49500bdca24dc (patch)
treea8a0daa224f473a72678f61a65c532c0b919ee51 /utils/config.h
parentb547e1205b58a40e6e546189ea7948a82b4de027 (diff)
downloadnetsurf-2a09b660401e62884a3f5daa44f49500bdca24dc.tar.gz
netsurf-2a09b660401e62884a3f5daa44f49500bdca24dc.tar.bz2
Add own implementations of alphasort and scandir when not available.
Diffstat (limited to 'utils/config.h')
-rw-r--r--utils/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/config.h b/utils/config.h
index 2503235b5..bc96b8f6a 100644
--- a/utils/config.h
+++ b/utils/config.h
@@ -98,6 +98,10 @@ char *realpath(const char *path, char *resolved_path);
#define HAVE_SCANDIR
#if (defined(_WIN32))
#undef HAVE_SCANDIR
+int alphasort(const struct dirent **d1, const struct dirent **d2);
+int scandir(const char *dir, struct dirent ***namelist,
+ int (*sel)(const struct dirent *),
+ int (*compar)(const struct dirent **, const struct dirent **));
#endif
/* This section toggles build options on and off.