We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd33191 commit 556721cCopy full SHA for 556721c
1 file changed
configure
@@ -592,13 +592,13 @@ rm -rf _inet_ntoa.* _inet_ntoa
592
$abort && exit 1
593
594
if [ -z "$LINK_SRC" ]; then
595
- printf "Testing for route ..."
+ printf "Testing for route ... "
596
cat << EOF >_route.c
597
#include <net/route.h>
598
int main(void) {
599
-#ifdef RTM_IFINFO
+ struct rt_msghdr rtm = { .rtm_type = 0 };
600
+ rtm.rtm_type = RTM_IFINFO;
601
return 0;
-#endif
602
}
603
EOF
604
if $XCC _route.c -o _route 2>&3; then
0 commit comments