POSIX states that clock_gettime and CLOCK_MONOTONIC should be defined in time.h, not sys/time.h, as does the FreeBSD manpage for clock_gettime, etc. The attached patch fixes that.
Administrators of the "libpcap" SourceForge project have superseded this tracker item (formerly artifact 3164085, now bug 147) with issue 149 of the "libpcap" GitHub project.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Checked into the trunk and 1.1 branches.
Administrators of the "libpcap" SourceForge project have superseded this tracker item (formerly artifact 3164085, now bug 147) with issue 149 of the "libpcap" GitHub project.