1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-13 03:09:02 +00:00
Files
nmap/libpcap/scanner.c
david b883c1d14f Include config.h at the %top of scanner.c.
On AIX, config.h defines _LARGE_FILES. This interacts badly with other
includes generated at the top of scanner.c, leading to errors like this:

In file included from scanner.c:2784:
/usr/include/unistd.h:171: error: conflicting types for 'lseek64'
/usr/include/unistd.h:169: error: previous declaration of 'lseek64' was here
In file included from /usr/include/unistd.h:746,
                 from scanner.c:2784:
/usr/include/sys/lockf.h:64: error: conflicting types for 'lockf64'
/usr/include/sys/lockf.h:62: error: previous declaration of 'lockf64' was here
2011-09-21 17:41:22 +00:00

185 KiB