diff options
author | Thomas White <taw@physics.org> | 2014-08-19 14:22:22 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-08-19 14:47:44 +0200 |
commit | 7ae6605846ecc70c937fca31b2133082aae055df (patch) | |
tree | 00bcacb21248f86caf91a02c55bc5178a52cd27f /libcrystfel/src/xds.c | |
parent | 1a532028cb2f2df6f12e518bdf6d3425bbb28b08 (diff) |
Use Gnulib forkpty()
Diffstat (limited to 'libcrystfel/src/xds.c')
-rw-r--r-- | libcrystfel/src/xds.c | 7 |
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" |