aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/mosflm.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-08-19 14:22:22 +0200
committerThomas White <taw@physics.org>2014-08-19 14:47:44 +0200
commit7ae6605846ecc70c937fca31b2133082aae055df (patch)
tree00bcacb21248f86caf91a02c55bc5178a52cd27f /libcrystfel/src/mosflm.c
parent1a532028cb2f2df6f12e518bdf6d3425bbb28b08 (diff)
Use Gnulib forkpty()
Diffstat (limited to 'libcrystfel/src/mosflm.c')
-rw-r--r--libcrystfel/src/mosflm.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c
index 970e2fbd..a93bbfe4 100644
--- a/libcrystfel/src/mosflm.c
+++ b/libcrystfel/src/mosflm.c
@@ -61,6 +61,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
+#include <pty.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
@@ -75,13 +76,6 @@
#include <sys/time.h>
#endif
-#if HAVE_FORKPTY_LINUX
-#include <pty.h>
-#elif HAVE_FORKPTY_BSD
-#include <util.h>
-#endif
-
-
#include "image.h"
#include "mosflm.h"
#include "utils.h"