summaryrefslogtreecommitdiff
path: root/source3/lib/replace/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/replace/getpass.c')
-rw-r--r--source3/lib/replace/getpass.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/source3/lib/replace/getpass.c b/source3/lib/replace/getpass.c
index 4b21849089..f4819e9df5 100644
--- a/source3/lib/replace/getpass.c
+++ b/source3/lib/replace/getpass.c
@@ -18,21 +18,9 @@ not, see <http://www.gnu.org/licenses/>. */
/* Modified to use with samba by Jeremy Allison, 8th July 1995. */
#include "replace.h"
-
-#if defined(HAVE_TERMIOS_H)
-/* POSIX terminal handling. */
-#include <termios.h>
-#elif defined(HAVE_TERMIO_H)
-/* Older SYSV terminal handling - don't use if we can avoid it. */
-#include <termio.h>
-#elif defined(HAVE_SYS_TERMIO_H)
-/* Older SYSV terminal handling - don't use if we can avoid it. */
-#include <sys/termio.h>
-#endif
-
-#ifdef HAVE_SYS_WAIT_H
-#include <sys/wait.h>
-#endif
+#include "system/filesys.h"
+#include "system/wait.h"
+#include "system/terminal.h"
/*
* Define additional missing types