Skip to content

Commit

Permalink
oscplot.c: include strings.h when building for macOS
Browse files Browse the repository at this point in the history
this enables usage of strncasecmp

Signed-off-by: cristina-suteu <[email protected]>
  • Loading branch information
cristina-suteu committed Mar 29, 2024
1 parent 07e932c commit 939ae7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions oscplot.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
#include <sys/types.h>
#include <dirent.h>

#ifdef __APPLE__
#include <strings.h>
#endif

#include <complex.h>
#include <fftw3.h>
#include <iio.h>
Expand Down

0 comments on commit 939ae7e

Please sign in to comment.