* Removed all dependency on strverscmp

* Added libgen.h for baseline()
This commit is contained in:
Olof Hagsand 2019-02-27 10:32:11 +01:00
parent d37aec7651
commit f035c3ca23
17 changed files with 20 additions and 33 deletions

View file

@ -90,9 +90,6 @@
/* Define to 1 if you have the `strsep' function. */
#undef HAVE_STRSEP
/* Define to 1 if you have the `strverscmp' function. */
#undef HAVE_STRVERSCMP
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H

View file

@ -37,12 +37,6 @@
#define strndup(s, n) clicon_strndup(s, n)
#endif
#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
#define BSD
/* at least for openbsd 4.5 i cannot get a hdr file */
int strverscmp (__const char *__s1, __const char *__s2);
#endif
/* Set if you want to assert that all rpc messages have set username
*/
#undef RPC_USERNAME_ASSERT