try
extern "C"
{
#include <ipq.h>
}
or something like that :) ... I haven't compiled
C++ against C in ages, so bear with me.
The problem your facing is the fact that
name mangling in C and C++ differ, and C
functions you call from C++ need to be
declared as extern "C" ... not sure whether
it will take the entire include like that, or
whether you'll have to make a wrapper
within the include file.
Cheers,
Tink
|