Skip to content

Commit

Permalink
iio_stresstest: for macos add back <sys/sysctl.h>
Browse files Browse the repository at this point in the history
when removing this, we didn't know if was required on MAC.

Signed-off-by: Robin Getz <[email protected]>
  • Loading branch information
rgetz committed Apr 28, 2020
1 parent 2eb2011 commit 524a471
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/iio_stresstest.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 29,11 @@
#include <limits.h>
#include <sys/time.h>

#ifdef __APPLE__
/* Needed for sysctlbyname */
#include <sys/sysctl.h>
#endif

#include "iio_common.h"

#define MY_NAME "iio_stresstest"
Expand Down

0 comments on commit 524a471

Please sign in to comment.