diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-04 10:24:25 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-04 10:32:41 -0400 |
| commit | 704ef00bb5ccd6f389ee938ebc6819ce40161384 (patch) | |
| tree | 888be4caef6d9d4ebfcdbf195cb966ba82949160 /lib/thread.h | |
| parent | b3d28d8f8a3895559c0f6326fb143cbbaeeb2be6 (diff) | |
lib: Rename HAVE_POLL to prevent conflicting #defines
Rename HAVE_POLL to HAVE_POLL_CALL, when compiling with
snmp and poll enabled this was causing issues.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.h')
| -rw-r--r-- | lib/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.h b/lib/thread.h index 34adcc4d09..6cb7896e7d 100644 --- a/lib/thread.h +++ b/lib/thread.h @@ -50,7 +50,7 @@ struct pqueue; */ typedef fd_set thread_fd_set; -#if defined(HAVE_POLL) +#if defined(HAVE_POLL_CALL) #include <poll.h> struct fd_handler { |
