mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 15:10:35 -04:00
It looks like the latest release doesn't build because of a missing #include. The source file depends on AF_INET and AF_INET6, which of course requires <sys/socket.h>. Submitted by: Torsten Zühlsdorff PR: 203972 Differential Revision: https://reviews.freebsd.org/D4001
10 lines
268 B
C
10 lines
268 B
C
--- tool/uriparse.c
|
|
+++ tool/uriparse.c
|
|
@@ -36,6 +36,7 @@
|
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
+#include <sys/socket.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <uriparser/Uri.h>
|