Skip to content

Commit

Permalink
Add note about getting sys/socket.h
Browse files Browse the repository at this point in the history
As per this discussion: #3054
  • Loading branch information
Jordan Rome committed Mar 13, 2024
1 parent b1dd370 commit 254d07d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/tcpconnect.bt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
#include <linux/socket.h>
#include <net/sock.h>
#else
/*
* Note: you may need to install the glibc-headers package or other package
* containing sys/socket.h, which contains the AF_INET and AF_INET6 macros
*/
#include <sys/socket.h>
#endif

Expand Down

0 comments on commit 254d07d

Please sign in to comment.