Question #234832 on rohc changed:
https://answers.launchpad.net/rohc/+question/234832

    Status: Open => Answered

Didier Barvaux proposed the following answer:
Hello,

The program contains some special code to build on both Windows and
Linux. Please change:

    #include "config.h" /* for HAVE_*_H definitions */

    #if HAVE_WINSOCK2_H == 1
    # include <winsock2.h> /* for htons() on Windows */
    #endif
    #if HAVE_ARPA_INET_H == 1
    # include <arpa/inet.h> /* for htons() on Linux */
    #endif

into:

    #include <arpa/inet.h> /* for htons() on Linux */

Regards,
Didier

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.

_______________________________________________
Mailing list: https://launchpad.net/~rohc
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~rohc
More help   : https://help.launchpad.net/ListHelp

Reply via email to