我已将以下库包含到我的代码中。
#include <minix/drivers.h>
#include <curl/curl.h>
#include <sys/stat.h>
#include <time.h>
#include <assert.h>
#include <string.h>
现在我收到以下错误:
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
据我所知,这意味着_send
已在两个库(minix/drivers.h
和curl/curl.h
)中声明,我想知道是否有可能解决此问题或以某种方式解决它?