- fix from upstream that allows libsm to compile against FreeBSD 13
Submitted by: Gregory Shapiro Obtained from: https://svnweb.freebsd.org/changeset/base/363226
This commit is contained in:
parent
ccea878aff
commit
967ba89df9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542388
26
mail/sendmail/files/patch-notify.c
Normal file
26
mail/sendmail/files/patch-notify.c
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
--- libsm/notify.c.orig 2020-05-19 19:54:32 UTC
|
||||||
|
+++ libsm/notify.c
|
||||||
|
@@ -10,11 +10,6 @@
|
||||||
|
|
||||||
|
#include <sm/gen.h>
|
||||||
|
|
||||||
|
-#include <sm/conf.h> /* FDSET_CAST */
|
||||||
|
-#include <sm/fdset.h>
|
||||||
|
-#include <sm/assert.h>
|
||||||
|
-#include <sm/notify.h>
|
||||||
|
-
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <signal.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
@@ -24,6 +19,11 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <string.h> /* for memset() */
|
||||||
|
+
|
||||||
|
+#include <sm/conf.h> /* FDSET_CAST */
|
||||||
|
+#include <sm/fdset.h>
|
||||||
|
+#include <sm/assert.h>
|
||||||
|
+#include <sm/notify.h>
|
||||||
|
|
||||||
|
#if SM_NOTIFY_DEBUG
|
||||||
|
#define SM_DBG(p) fprintf p
|
Loading…
Reference in New Issue
Block a user