mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Add forward declaration of struct timeval for deprecated APIs.
This commit is contained in:
parent
4347ed90d4
commit
c321b3e609
@ -23,6 +23,8 @@
|
||||
#include <signal.h> /* for sigatomic_t and NSIG */
|
||||
#include "sudo_queue.h"
|
||||
|
||||
struct timeval; /* for deprecated APIs */
|
||||
|
||||
/* Event types (keep in sync with sudo_plugin.h) */
|
||||
#define SUDO_EV_TIMEOUT 0x01 /* fire after timeout */
|
||||
#define SUDO_EV_READ 0x02 /* fire when readable */
|
||||
|
Loading…
x
Reference in New Issue
Block a user