|
@@ -26,7 +26,7 @@
|
|
|
|
|
|
#include <stdio.h>
|
|
|
#include <stdarg.h>
|
|
|
-#if defined(sun)
|
|
|
+#if defined(sun) || defined(__FreeBSD__)
|
|
|
#include <iconv.h>
|
|
|
#endif
|
|
|
#include <sys/stat.h>
|
|
@@ -914,7 +914,7 @@ friend class Session;
|
|
|
DTMailError_t minor_code);
|
|
|
};
|
|
|
|
|
|
-#if defined(sun)
|
|
|
+#if defined(sun) || defined(__FreeBSD__)
|
|
|
template <typename T>
|
|
|
size_t iconv (iconv_t i, const T inbuf, size_t* inleft,
|
|
|
char** outbuf, size_t* outleft)
|