diff --git a/src/USER-INTEL/intel_intrinsics_airebo.h b/src/USER-INTEL/intel_intrinsics_airebo.h index d055ed549a92bc9b958a58204db61554e513eac8..4a86d8db290d096dff9ae1e16809176a6ce18930 100644 --- a/src/USER-INTEL/intel_intrinsics_airebo.h +++ b/src/USER-INTEL/intel_intrinsics_airebo.h @@ -744,7 +744,7 @@ struct intr_types<float,double> { #include <cassert> #include <immintrin.h> -#include <cstdint> +#include <stdint.h> // <cstdint> requires C++-11 #define VEC_INLINE __attribute__((always_inline)) diff --git a/src/USER-INTEL/pair_airebo_intel.cpp b/src/USER-INTEL/pair_airebo_intel.cpp index f4071903aa3a5092ad4f2ebb9755e8b15acfe755..07f33f7ebe10bdfb1fac0511b768a9eba1fa3148 100644 --- a/src/USER-INTEL/pair_airebo_intel.cpp +++ b/src/USER-INTEL/pair_airebo_intel.cpp @@ -23,7 +23,7 @@ #include <cstring> #include <cmath> #include <cstdio> -#include <cstdint> +#include <stdint.h> // <cstdint> requires C++-11 #include <cassert> #include <cstddef> #include "lmptype.h" diff --git a/src/USER-OMP/pair_agni_omp.cpp b/src/USER-OMP/pair_agni_omp.cpp index b938511656f92adaf4925edfcc25225f03269b03..e8f003ea881674165d42e15053c2766b9be8a27e 100644 --- a/src/USER-OMP/pair_agni_omp.cpp +++ b/src/USER-OMP/pair_agni_omp.cpp @@ -14,7 +14,7 @@ #include <cmath> #include <cstring> -#include <cstdint> +#include <stdint.h> // <cstdint> requires C++-11 #include "pair_agni_omp.h" #include "atom.h" #include "comm.h" diff --git a/src/info.cpp b/src/info.cpp index be832cc6f71727913091bd2c171c3a40f4620e16..65c0cd9b53dcb4f480b54d4095752b9179546a6b 100644 --- a/src/info.cpp +++ b/src/info.cpp @@ -51,7 +51,7 @@ #ifdef _WIN32 #define PSAPI_VERSION 1 #include <windows.h> -#include <cstdint> +#include <stdint.h> // <cstdint> requires C++-11 #include <psapi.h> #else #include <sys/time.h> diff --git a/src/lmptype.h b/src/lmptype.h index 76573faa5cd0dbad6625788d297cc51f01bd6340..3580df7b52b67ee92026fcad5f2f5a7147b3b5c8 100644 --- a/src/lmptype.h +++ b/src/lmptype.h @@ -37,7 +37,7 @@ #endif #include <climits> -#include <cstdint> +#include <stdint.h> // <cstdint> requires C++-11 #include <cinttypes> // grrr - IBM Power6 does not provide this def in their system header files diff --git a/src/math_special.cpp b/src/math_special.cpp index 78b993bb2bd45c33fc2f83e34b97771164ed3947..31567bdc77fa90bab58d307356d3a9b67aa109ba 100644 --- a/src/math_special.cpp +++ b/src/math_special.cpp @@ -1,5 +1,5 @@ #include <cmath> -#include <cstdint> +#include <stdint.h> // <cstdint> requires C++-11 #include "math_special.h" using namespace LAMMPS_NS; diff --git a/src/timer.cpp b/src/timer.cpp index 99468582afcc70ba8e6f1b4ef8024e6a20e82bac..65cb6ab5d8fef698784258a1c80220848f96d9bb 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -22,7 +22,7 @@ #ifdef _WIN32 #include <windows.h> -#include <cstdint> +#include <stdint.h> // <cstdint> requires C++-11 #else #include <sys/time.h> #include <sys/resource.h>