mirror of
https://github.com/tstack/lnav
synced 2024-11-15 18:13:10 +00:00
[build] set _BSD_SOURCE to 1 to quiet warnings
This commit is contained in:
parent
7c60b1c36d
commit
5a25a76b2d
2
configure
vendored
2
configure
vendored
@ -6562,7 +6562,7 @@ case "$host_os" in
|
||||
*)
|
||||
# AC_DEFINE([_XOPEN_SOURCE], [500], [Need pread])
|
||||
|
||||
$as_echo "#define _BSD_SOURCE /**/" >>confdefs.h
|
||||
$as_echo "#define _BSD_SOURCE 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
esac
|
||||
|
@ -110,7 +110,7 @@ AX_LIB_SQLITE3("3.0.0")
|
||||
case "$host_os" in
|
||||
*)
|
||||
# AC_DEFINE([_XOPEN_SOURCE], [500], [Need pread])
|
||||
AC_DEFINE([_BSD_SOURCE], [], [Need pread])
|
||||
AC_DEFINE([_BSD_SOURCE], [1], [Need pread])
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user