LINUX-5.16: Use linux/stdarg.h if available
[openafs.git] / src / rx / rx_kcommon.h
index 6a640e6..8d8a330 100644 (file)
@@ -140,7 +140,11 @@ struct coda_inode_info {
 # if defined(AFS_FBSD_ENV)
 #  include "machine/stdarg.h"
 # else
-#  include "stdarg.h"
+#  if defined(HAVE_LINUX_STDARG_H)
+#   include "linux/stdarg.h"
+#  else
+#   include "stdarg.h"
+#  endif
 # endif
 #endif
 #ifdef KERNEL