Browse Source
The ``<sys/socket.h>`` header should be included in ``src/netutils.h`` before the usage of ``struct sockaddr_storage``, otherwise build failed with errors such as: ``` In file included from udprelay.c:53:0: netutils.h:68:22: error: 'struct sockaddr_storage' declared inside parameter list [-Werror] int ipv6first); ^ netutils.h:68:22: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] ``` Tested on DragonFly BSD 4.9-development and Debian Linux testing.pull/1519/head
Aaron LI
7 years ago
committed by
Max Lv
2 changed files with 2 additions and 1 deletions
Loading…