I have included the following libraries in 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 was declared in two libraries ( minix/drivers.h and curl/curl.h ), I was wondering if this problem can be solved or get around it somehow?
Joost source share