[Openmp-commits] [openmp] 47b0262 - Add <stdarg.h> include to kmp_os.h, to get the va_list type, required

Dimitry Andric via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 24 13:45:28 PDT 2020


Author: Dimitry Andric
Date: 2020-08-24T22:45:02+02:00
New Revision: 47b0262d3f82a5574c7539afeb76cc1687417ca5

URL: https://github.com/llvm/llvm-project/commit/47b0262d3f82a5574c7539afeb76cc1687417ca5
DIFF: https://github.com/llvm/llvm-project/commit/47b0262d3f82a5574c7539afeb76cc1687417ca5.diff

LOG: Add <stdarg.h> include to kmp_os.h, to get the va_list type, required
after cde8f4c164a2. Sort system includes, while here.

Added: 
    

Modified: 
    openmp/runtime/src/kmp_os.h

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/kmp_os.h b/openmp/runtime/src/kmp_os.h
index bade3cc70a7cb..42513f103dd34 100644
--- a/openmp/runtime/src/kmp_os.h
+++ b/openmp/runtime/src/kmp_os.h
@@ -14,8 +14,9 @@
 #define KMP_OS_H
 
 #include "kmp_config.h"
-#include <stdlib.h>
 #include <atomic>
+#include <stdarg.h>
+#include <stdlib.h>
 
 #define KMP_FTN_PLAIN 1
 #define KMP_FTN_APPEND 2


        


More information about the Openmp-commits mailing list