From de0343b77bcbe0ad19f02c0894f703ade4d7fff2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 17 Oct 2007 14:01:49 +0200 Subject: r25684: use "system/*.h" to get the system includes metze (cherry picked from commit d20c2fa274297e9577ed28b8ed04806a425bdc57) (This used to be commit ee8557783534ac5b075a8a4655a12b33b854c050) --- source4/lib/replace/getpass.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'source4/lib/replace/getpass.c') diff --git a/source4/lib/replace/getpass.c b/source4/lib/replace/getpass.c index 4b21849089..f4819e9df5 100644 --- a/source4/lib/replace/getpass.c +++ b/source4/lib/replace/getpass.c @@ -18,21 +18,9 @@ not, see . */ /* Modified to use with samba by Jeremy Allison, 8th July 1995. */ #include "replace.h" - -#if defined(HAVE_TERMIOS_H) -/* POSIX terminal handling. */ -#include -#elif defined(HAVE_TERMIO_H) -/* Older SYSV terminal handling - don't use if we can avoid it. */ -#include -#elif defined(HAVE_SYS_TERMIO_H) -/* Older SYSV terminal handling - don't use if we can avoid it. */ -#include -#endif - -#ifdef HAVE_SYS_WAIT_H -#include -#endif +#include "system/filesys.h" +#include "system/wait.h" +#include "system/terminal.h" /* * Define additional missing types -- cgit