summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-17 14:01:49 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:13 +0100
commitde0343b77bcbe0ad19f02c0894f703ade4d7fff2 (patch)
treefdf0e21b7fd94ca227d81fde2817bf6b71def874 /source4
parent2367364094824e03ce890e961bdb70d42c57471f (diff)
downloadsamba-de0343b77bcbe0ad19f02c0894f703ade4d7fff2.tar.gz
samba-de0343b77bcbe0ad19f02c0894f703ade4d7fff2.tar.bz2
samba-de0343b77bcbe0ad19f02c0894f703ade4d7fff2.zip
r25684: use "system/*.h" to get the system includes
metze (cherry picked from commit d20c2fa274297e9577ed28b8ed04806a425bdc57) (This used to be commit ee8557783534ac5b075a8a4655a12b33b854c050)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/replace/getpass.c18
1 files changed, 3 insertions, 15 deletions
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 <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