summaryrefslogtreecommitdiff
path: root/source3/lib/replace/getpass.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-15 15:41:06 +0200
committerStefan Metzmacher <metze@samba.org>2007-10-15 15:41:06 +0200
commitd5712f071a819aeb079e6f529df8d7bbd27ac2ac (patch)
tree8a6584c00e118b9ba3846b6956085325292f46d1 /source3/lib/replace/getpass.c
parentc6a17c85e10c2824dd3877e0df13a8e997b76b85 (diff)
downloadsamba-d5712f071a819aeb079e6f529df8d7bbd27ac2ac.tar.gz
samba-d5712f071a819aeb079e6f529df8d7bbd27ac2ac.tar.bz2
samba-d5712f071a819aeb079e6f529df8d7bbd27ac2ac.zip
use "system/*.h" to get the system includes
metze (This used to be commit d20c2fa274297e9577ed28b8ed04806a425bdc57)
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