Skip to content
Snippets Groups Projects
Commit 59b59716 authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Improve compilation on platforms other than Linux.

parent 32fc3bee
No related branches found
No related tags found
No related merge requests found
......@@ -38,9 +38,9 @@
#include <netinet/tcp_fsm.h>
#endif
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
#if !defined(linux)
#define SOL_TCP IPPROTO_TCP
#endif /* defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) */
#endif /* !defined(linux) */
#ifdef linux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment