packages/mail/sendmail/patches/210-cdefs.patch
Rosen Penev f10ec9241e
sendmail: fix compilation without sys/cdefs
sys/cdefs is deprecated. It's also not included with musl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:22:32 -07:00

10 lines
250 B
Diff

--- a/include/sm/os/sm_os_linux.h
+++ b/include/sm/os/sm_os_linux.h
@@ -33,7 +33,6 @@
# endif /* LINUX_VERSION_CODE */
#endif /* SM_CONF_SHM */
-#define SM_CONF_SYS_CDEFS_H 1
#ifndef SM_CONF_SEM
# define SM_CONF_SEM 2
#endif /* SM_CONF_SEM */