freebsd-ports/benchmarks/postal/files/patch-postal.cpp
Martin Wilke f060bf46c1 - Update to 0.73
- Use new options helper
- Update pkg-descr

PR:		187289
Submitted by:	ports fury
2014-03-11 02:36:27 +00:00

21 lines
378 B
C++

--- postal.cpp.orig
+++ postal.cpp
@@ -6,15 +6,11 @@
#include "smtp.h"
#include <unistd.h>
#include <sys/wait.h>
-#include <signal.h>
-#include <stdio.h>
+#include <csignal>
+#include <cstdio>
+#include <cstdlib>
#include "postal.h"
#include "logit.h"
-#ifdef USE_GNUTLS
-#include <errno.h>
-#include <gcrypt.h>
-GCRY_THREAD_OPTION_PTHREAD_IMPL;
-#endif
void usage()
{