Skip to content

Commit

Permalink
Ignore conflicting getopt.h
Browse files Browse the repository at this point in the history
ALSA now includes the system-wide variant which conflicts with ours.
  • Loading branch information
Malvineous committed Nov 19, 2017
1 parent 5ee4850 commit aa4718c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adplay.cc
Expand Up @@ -38,6 +38,8 @@
# include <getopt.h>
# else
# include "getopt.h"
// ALSA now includes the system-wide getopt under Linux, so stop this
# define _GETOPT_POSIX_H 1
# endif
#endif

Expand Down

0 comments on commit aa4718c

Please sign in to comment.