gnu: emacs-consult: Fix grammar.
[jackhill/guix/guix.git] / gnu / packages / patches / scotch-integer-declarations.patch
CommitLineData
fd373343
EB
1diff --git a/src/libscotch/library.h b/src/libscotch/library.h
2index 1891c19..ecc0533 100644
3--- a/src/libscotch/library.h
4+++ b/src/libscotch/library.h
5@@ -67,6 +67,8 @@
6
7 /*+ Integer type. +*/
8
9+#include <stdint.h>
10+
11 typedef DUMMYIDX SCOTCH_Idx;
12
13 typedef DUMMYINT SCOTCH_Num;
14diff --git a/src/libscotchmetis/library_metis.h b/src/libscotchmetis/library_metis.h
15index e6767e1..04e71c3 100644
16--- a/src/libscotchmetis/library_metis.h
17+++ b/src/libscotchmetis/library_metis.h
18@@ -99,6 +99,7 @@ typedef enum {
19 */
20
21 #ifndef SCOTCH_H /* In case "scotch.h" not included before */
22+#include <stdint.h>
23 typedef DUMMYINT SCOTCH_Num;
24 #endif /* SCOTCH_H */
25
26diff --git a/src/libscotchmetis/library_parmetis.h b/src/libscotchmetis/library_parmetis.h
27index 6d2f0b0..3c803fc 100644
28--- a/src/libscotchmetis/library_parmetis.h
29+++ b/src/libscotchmetis/library_parmetis.h
30@@ -106,6 +106,7 @@ typedef enum {
31 */
32
33 #ifndef SCOTCH_H /* In case "scotch.h" not included before */
34+#include <stdint.h>
35 typedef DUMMYINT SCOTCH_Num;
36 #endif /* SCOTCH_H */
37