]> sigrok.org Git - libsigrok.git/commit
std.c: Add missing <sys/time.h> #include and _XOPEN_SOURCE.
authorUwe Hermann <redacted>
Tue, 13 Feb 2018 20:54:46 +0000 (21:54 +0100)
committerUwe Hermann <redacted>
Tue, 13 Feb 2018 22:10:33 +0000 (23:10 +0100)
commitd18bf7bdfc4df94cfad5440388a699f7fe81143b
tree378d1ae33f7af2aceee98cd8bf6f72220a31ba8c
parenta9a38e75114d3ebbf19f5a0220e43a922615c6b6
std.c: Add missing <sys/time.h> #include and _XOPEN_SOURCE.

This is required for gettimeofday() to be available (at least on
FreeBSD), causes compiler warnings otherwise.
src/std.c