# HG changeset patch # User Rob Landley # Date 1404004571 18000 # Node ID 8bd7e28a9eb84794c8c83172915aa73bc4aab001 # Parent def326708e49759c34961c1fb90737a34d257352 Add fallocate probe for uClibc. diff -r def326708e49 -r 8bd7e28a9eb8 scripts/genconfig.sh --- a/scripts/genconfig.sh Sat Jun 28 20:02:57 2014 -0500 +++ b/scripts/genconfig.sh Sat Jun 28 20:16:11 2014 -0500 @@ -35,10 +35,15 @@ #endif EOF - # Hard to come by in uClibc. + # Work around some uClibc limitations probesymbol TOYBOX_ICONV -c << EOF #include "iconv.h" EOF + probesymbol TOYBOX_FALLOCATE << EOF + #include + + int main(int argc, char *argv[]) { return posix_fallocate(0,0,0); } +EOF } genconfig()