1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 19:50:31 -04:00
ports/cad/scotch/files/patch-src_libscotch_library.h
Yuri Victorovich 77594feff6 cad/scotch: Add missing include statements in include/scotch.h
Otherwise int64_t and FILE are not found.

PR:		275527
Approved by:	thierry@FreeBSD.org (maintainer)
2023-12-04 14:48:00 -08:00

16 lines
367 B
C

- workaround for:
- - https://gitlab.inria.fr/scotch/scotch/-/issues/35
- - https://github.com/FreeFem/FreeFem-sources/issues/296
--- src/libscotch/library.h.orig 2017-02-22 07:20:57 UTC
+++ src/libscotch/library.h
@@ -61,6 +61,9 @@
#ifndef SCOTCH_H
#define SCOTCH_H
+#include <sys/types.h>
+#include <stdio.h>
+
/*
** The type and structure definitions.
*/