X-Git-Url: http://andersk.mit.edu/gitweb/libfaim.git/blobdiff_plain/96f8b1edd2c6bb991cb4fec0a5bef6570ceb502f..a3619f23f4aeff53f82fbde8578382db13c65cf9:/faim/aim.h diff --git a/faim/aim.h b/faim/aim.h index 0327561..244c28b 100644 --- a/faim/aim.h +++ b/faim/aim.h @@ -70,9 +70,8 @@ #define gethostbyname(x) gethostbyname2(x, AF_INET) #endif -#if !defined(MSG_WAITALL) -#warning FIX YOUR LIBC! MSG_WAITALL is required! -#define MSG_WAITALL 0x100 +#if defined(MSG_WAITALL) +#define FAIM_HAS_MSG_WAITALL #endif /* @@ -747,6 +746,9 @@ char *aimutil_itemidx(char *toSearch, int index, char dl); int aim_snlen(const char *sn); int aim_sncmp(const char *sn1, const char *sn2); +/* for libc's that dont have it */ +char *aim_strsep(char **pp, const char *delim); + /* aim_meta.c */ char *aim_getbuilddate(void); char *aim_getbuildtime(void);