Skip to content

Commit ddac696

Browse files
committed
TCP input: fix FreeBSD build
#107
1 parent b26fda4 commit ddac696

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plugins/input/tcp/src/Epoll.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
#include <string> // string
1616

1717
#include <sys/epoll.h> // epoll_event, epoll_create, EPOLLIN, EPOLL_CT_ADD, epoll_ctl, EPOLL_CTL_DEL
18+
#undef close // fix FreeBSD build: (tcp_in::Connection has own close(),
19+
// but preprocesor changes it for epoll_shim_close())
1820

1921
#include <ipfixcol2.h> // ipx_strerror
2022

0 commit comments

Comments
 (0)