Skip to content

Commit 939ae7e

Browse files
oscplot.c: include strings.h when building for macOS
this enables usage of strncasecmp Signed-off-by: cristina-suteu <[email protected]>
1 parent 07e932c commit 939ae7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: oscplot.c

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
#include <sys/types.h>
2222
#include <dirent.h>
2323

24+
#ifdef __APPLE__
25+
#include <strings.h>
26+
#endif
27+
2428
#include <complex.h>
2529
#include <fftw3.h>
2630
#include <iio.h>

0 commit comments

Comments
 (0)