You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-chemistry/mosflm/files/7.0.6-impl-dec.patch

37 lines
949 B

diff --git a/mosflm/bravais_fortran.c b/mosflm/bravais_fortran.c
index 3d68cad..800bd0e 100644
--- a/mosflm/bravais_fortran.c
+++ b/mosflm/bravais_fortran.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <math.h>
#include "../util/util.h"
+#include "../util/bravais.h"
/* bravais_fortran_(): This routine converts array from FORTRAN program
to structure for call to bravais
diff --git a/mosflm/chelp.c b/mosflm/chelp.c
index b2aaefc..fa44ab0 100644
--- a/mosflm/chelp.c
+++ b/mosflm/chelp.c
@@ -5,6 +5,7 @@
/* modified for Linux by Joachim Meyer jmeyer@embl-heidelberg.de 1998.05.19 */
#include "chelp.h"
+#include <stdio.h>
#if CALL_LIKE_HPUX
void chelp ()
diff --git a/mosflm/pck.c b/mosflm/pck.c
index ec094fc..288671d 100644
--- a/mosflm/pck.c
+++ b/mosflm/pck.c
@@ -17,6 +17,7 @@
#include <math.h>
#include <ctype.h>
#include <string.h>
+#include <unistd.h>
#define BYTE char
#define WORD short int