aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/xds.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/xds.c')
-rw-r--r--libcrystfel/src/xds.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c
index 8242bc96..c29083b5 100644
--- a/libcrystfel/src/xds.c
+++ b/libcrystfel/src/xds.c
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
+#include <pty.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
@@ -50,12 +51,6 @@
#include <sys/time.h>
#endif
-#if HAVE_FORKPTY_LINUX
-#include <pty.h>
-#elif HAVE_FORKPTY_BSD
-#include <util.h>
-#endif
-
#include "cell.h"
#include "image.h"
#include "utils.h"