Very old systems (pre XPG 4.2) may not support MSG_WAITALL. The

likelihood of receiving a partial message is quite low so this is
not a big deal.
This commit is contained in:
Todd C. Miller
2013-11-12 15:14:58 -07:00
parent 142fff6db3
commit bb45f8e84d

View File

@@ -17,6 +17,13 @@
#ifndef _SUDO_EXEC_H
#define _SUDO_EXEC_H
/*
* Older systems may not support MSG_WAITALL but it shouldn't really be needed.
*/
#ifndef MSG_WAITALL
# define MSG_WAITALL 0
#endif
/*
* Special values to indicate whether continuing in foreground or background.
*/