Add forward declaration of struct timeval for deprecated APIs.

This commit is contained in:
Todd C. Miller
2019-12-25 11:20:34 -07:00
parent 4347ed90d4
commit c321b3e609

View File

@@ -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 */