Commit dac27877 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix issues with replaced compat functions in C++ modules

Notably poll, inet*, swab, *rand48, and tsearch
parent 4a91b3ae
......@@ -256,6 +256,10 @@ static inline locale_t newlocale(int mask, const char * locale, locale_t base)
#define N_(str) gettext_noop (str)
#define gettext_noop(str) (str)
#ifdef __cplusplus
extern "C" {
#endif
#ifndef HAVE_SWAB
void swab (const void *, void *, ssize_t);
#endif
......@@ -339,6 +343,10 @@ long jrand48 (unsigned short subi[3]);
long nrand48 (unsigned short subi[3]);
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif
#ifdef __OS2__
# undef HAVE_FORK /* Implementation of fork() is imperfect on OS/2 */
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment