Opened 8 years ago

Closed 8 years ago

#7860 closed enhancement (fixed)

netinet/in_systm.h needs implementing

Reported by: dacha Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Network Kit Version: R1/alpha3
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Wine cannot compile because dlls/iphlpapi/icmp.c expects n_long to be defined. On Linux and FreeBSD n_long is defined by including netinet/in_systm.h, however on Haiku that file is empty and no other file defines n_long.

FreeBSD's implementation is only 58 lines long (http://www.leidinger.net/FreeBSD/dox/netinet/html/d9/dce/in__systm_8h_source.html). Copy it?

Change History (2)

comment:1 by pulkomandy, 8 years ago

Component: - GeneralKits/Network Kit
Owner: changed from nobody to axeld

comment:2 by axeld, 8 years ago

Resolution: fixed
Status: newclosed

It's not even self-containing. I took the liberty to add the definition it needs (but no implementation of iptime()) in hrev42468.

Note: See TracTickets for help on using tickets.