rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #01284
Re: [Question #234832]: compilation error
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.