]> sigrok.org Git - libserialport.git/commit
libserialport_internal: use new macro to enable timeradd, etc.
authorWolfram Sang <redacted>
Mon, 28 Dec 2015 13:33:40 +0000 (14:33 +0100)
committerUwe Hermann <redacted>
Tue, 29 Dec 2015 00:16:28 +0000 (01:16 +0100)
commit4d8195fe3f8b5d2a206b8c1c1edeb4e3e0208ccb
tree60af26ffa3abd83f72c0eec621d7b2c1351c381e
parentae2c5825e79ab5b38a8ca53941df6d73679a52e6
libserialport_internal: use new macro to enable timeradd, etc.

Since glibc 2.20, the usage of _BSD_SOURCE is deprecated. Fix it like
described here:

https://sourceware.org/glibc/wiki/Release/2.20#Deprecation_of__BSD_SOURCE_and__SVID_SOURCE_feature_macros

This fixes bug #716.

Signed-off-by: Wolfram Sang <redacted>
libserialport_internal.h