blob: b21fe9f4713ac59898ce73b17bbfcc7e9ea93e1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Use C99/stdint.h types over non-portable (deprecated) glibc types
Bug: https://bugs.gentoo.org/715840
--- a/lib/mpi_type.h
+++ b/lib/mpi_type.h
@@ -26,6 +26,7 @@
#ifndef MPI_TYPE_H
#define MPI_TYPE_H
+#include <stdint.h>
/*******************************************************************************
* Define MPI_POINTER if it hasn't already been defined. By default MPI_POINTER
@@ -50,7 +51,7 @@
typedef int32_t S32;
-typedef u_int32_t U32;
+typedef uint32_t U32;
typedef struct _S64
{
|