Skip to content

Commit 07e932c

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: dialogs.c

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
#include <dirent.h>
1818
#include <limits.h>
1919

20+
#ifdef __APPLE__
21+
#include <strings.h>
22+
#endif
23+
2024
#include <iio.h>
2125

2226
#include "compat.h"

0 commit comments

Comments
 (0)