• Guy Harris's avatar
    Clean up includes of unistd.h, fcntl.h, and sys/stat.h. · 0162e540
    Guy Harris authored
    Have wsutil/file_util.h include them on UN*X, just as it includes io.h
    on Windows, so we can have a rule of "if you do file operations, include
    <wsutil/file_util.h> and use the routines in it".
    
    Remove includes of unistd.h, fcntl.h, and sys/stat.h that aren't
    necessary (whether because of the addition of them to wsutil/file_util.h
    or because they weren't needed in the first place).
    
    Change-Id: Ie241dd74deff284e39a5f690a297dbb6e1dc485f
    Reviewed-on: https://code.wireshark.org/review/11619
    Petri-Dish: Guy Harris <guy@alum.mit.edu>
    Reviewed-by: 's avatarGuy Harris <guy@alum.mit.edu>
    0162e540
capture_stop_conditions.c 7.78 KB