aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/dirax.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/dirax.c')
-rw-r--r--libcrystfel/src/dirax.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libcrystfel/src/dirax.c b/libcrystfel/src/dirax.c
index 3ab592b6..dbd43267 100644
--- a/libcrystfel/src/dirax.c
+++ b/libcrystfel/src/dirax.c
@@ -34,6 +34,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
+#include <pty.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
@@ -48,13 +49,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 "dirax.h"
#include "utils.h"