Skip to content

Commit

Permalink
Merge branch 'acpi-tools'
Browse files Browse the repository at this point in the history
Merge a fix for a recent ACPI tools bild regresson.

* acpi-tools:
  ACPI: tools: fix compilation error
  • Loading branch information
Rafael J. Wysocki committed Oct 22, 2021
2 parents bc28368 + 136f282 commit 7a74890
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions include/acpi/platform/acgcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ typedef __builtin_va_list va_list;
#define va_arg(v, l) __builtin_va_arg(v, l)
#define va_copy(d, s) __builtin_va_copy(d, s)
#else
#ifdef __KERNEL__
#include <linux/stdarg.h>
#endif
#endif
#else
/* Used to build acpi tools */
#include <stdarg.h>
#endif /* __KERNEL__ */
#endif /* ACPI_USE_BUILTIN_STDARG */
#endif /* ! va_arg */

#define ACPI_INLINE __inline__

Expand Down

0 comments on commit 7a74890

Please sign in to comment.