Skip to content

Commit

Permalink
fix build: fix for freebsd (#2590)
Browse files Browse the repository at this point in the history
The build error was:
  include/spdlog/details/tcp_client.h:106:31: error: use of undeclared identifier 'IPPROTO_TCP'
  • Loading branch information
segoon authored Dec 31, 2022
1 parent a4e9917 commit 3c93f76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/spdlog/details/tcp_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <unistd.h>
#include <netdb.h>
#include <netinet/tcp.h>
#include <netinet/in.h>

#include <string>

Expand Down

0 comments on commit 3c93f76

Please sign in to comment.