• Alvaro Herrera's avatar
    Include <sys/select.h> where needed · 51c3e9fa
    Alvaro Herrera authored
    <sys/select.h> is required by POSIX.1-2001 to get the prototype of
    select(2), but nearly no systems enforce that because older standards
    let you get away with including some other headers.  Recent OpenBSD
    hacking has removed that frail touch of friendliness, however, which
    broke some compiles; fix all the way back to 9.1 by adding the required
    standard.  Only vacuumdb.c was reported to fail, but it seems easier to
    fix the whole lot in a fell swoop.
    
    Per bug #14334 by Sean Farrell.
    51c3e9fa
vacuumdb.c 23.9 KB