Introduction
Introduction Statistics Contact Development Disclaimer Help
config.h: disable pledge for non-OpenBSD - bmf - bmf (Bayesian Mail Filter) 0.9…
git clone git://git.codemadness.org/bmf
Log
Files
Refs
README
LICENSE
---
commit 1e2885e37b75f738445d13b6a61caf9786b28fea
parent c8fb28f55c568c95be709803ef153199f1557035
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 23 Sep 2018 14:39:59 +0200
config.h: disable pledge for non-OpenBSD
Diffstat:
M config.h | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/config.h b/config.h
@@ -30,6 +30,11 @@
#include <time.h>
#include <unistd.h>
+/* pledge(2) */
+#ifndef __OpenBSD__
+#define pledge(a,b) 0
+#endif
+
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/types.h>
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.