Skip to content

Commit f69bd9f

Browse files
authored
Merge pull request #2613 from pqarmitage/updates
core: correct some conditional compilation tests for close_range()
2 parents 18f7421 + 4571e0f commit f69bd9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keepalived/core/snmp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#include "config.h"
2424

2525
#include <stdio.h>
26-
#if defined HAVE_CLOSE_RANGE_CLOEXEC
27-
#if !defined DEFINE_CLOSE_RANGE && !defined _GNU_SOURCE
26+
#if defined HAVE_DECL_CLOSE_RANGE_CLOEXEC
27+
#if !defined USE_CLOSE_RANGE_SYSCALL && !defined _GNU_SOURCE
2828
#define _GNU_SOURCE
2929
#endif
3030
#include <linux/close_range.h>

0 commit comments

Comments
 (0)