Skip to content

Commit

Permalink
Fix to include correct Availability.h header
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
subpop committed Feb 3, 2024
1 parent 012f732 commit e53e1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <arpa/inet.h>
#include <getopt.h>

#include <availability.h>
#include <Availability.h>
#include <uuid/uuid.h>

#include "cli.h"
Expand Down

0 comments on commit e53e1e2

Please sign in to comment.