Add forward declaration of struct timeval for deprecated APIs.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user