MIT license. Compile with -DMAIN to build the demonstrator.
******************************************************************************/
+
+#define _XOPEN_SOURCE 600
+#define __BSD_VISIBLE 1
+
+#include "config.h"
+#include "fetchmail.h"
+
#include <stdio.h>
#include <ctype.h>
#include <string.h>
+#include <strings.h>
#include <stdlib.h>
-#include "fetchmail.h"
#include "sdump.h"
#ifndef MAIN
-#include "i18n.h"
+#include "gettext.h"
#else
#include <unistd.h>
static int verbose;
break;
}
+ longbuf[0] = '\0';
+
while (fgets(buf, sizeof(buf)-1, stdin))
{
if (buf[0] == ' ' || buf[0] == '\t')