Skip to content

Commit

Permalink
Include sysctl header if only system has sysctlbyname
Browse files Browse the repository at this point in the history
Fix from: satori-com#77
  • Loading branch information
Mochis authored Jul 4, 2024
1 parent 072c9e8 commit fd14076
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tcpkali_syslimits.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
#include <string.h>
#include <unistd.h>
#include <stdarg.h>
#include <config.h>
#include <sys/types.h>
#include <sys/resource.h>
#ifdef HAVE_SYSCTLBYNAME
#include <sys/sysctl.h>
#endif
#include <sys/socket.h>
#include <errno.h>
#include <assert.h>
Expand Down

0 comments on commit fd14076

Please sign in to comment.