Skip to content

Commit e53e1e2

Browse files
committed
Fix to include correct Availability.h header
The OS X SDK includes a file named "Availability.h". This file defines the macro __MAC_OS_X_VERSION_MAX_ALLOWED. However, the file was being imported as "availability.h". On case-insensitive, case-preserving filesystems, this name discrepancy is not a problem, but when compiling on a case-sensitive filesystem, the compiler fails to find a file named "availability.h". Include the correct, case-sensitive filename instead. Signed-off-by: Link Dupont <[email protected]>
1 parent 012f732 commit e53e1e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <arpa/inet.h>
66
#include <getopt.h>
77

8-
#include <availability.h>
8+
#include <Availability.h>
99
#include <uuid/uuid.h>
1010

1111
#include "cli.h"

0 commit comments

Comments
 (0)