I have included the following libraries into my code.
#include <minix/drivers.h>
#include <curl/curl.h>
#include <sys/stat.h>
#include <time.h>
#include <assert.h>
#include <string.h>
Now I get the following error:
In file included from /usr/local/include/curl/curlbuild.h:152
from /usr/local/include/curl/curl.h:34
from xxx.c:2
/usr/pkg/gcc44/lib/gcc/i686-pc-minix/4.4.3/include-fixed/sys/socket.h:134: error: conflicting types for '_send'
/usr/include/minix/ipc.h:152: note: previous declaration was here
As far as I know this means that _send
has been declared in two libraries (minix/drivers.h
and curl/curl.h
), I was wondering if it is possible to resolve this problem or work around it in some way?
curl.h
anddrivers.h
in your program? – Laquitalar