r25684: use "system/*.h" to get the system includes
authorStefan Metzmacher <metze@samba.org>
Wed, 17 Oct 2007 12:01:49 +0000 (14:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:43:13 +0000 (05:43 +0100)
metze
(cherry picked from commit d20c2fa274297e9577ed28b8ed04806a425bdc57)
(This used to be commit ee8557783534ac5b075a8a4655a12b33b854c050)

source4/lib/replace/getpass.c

index 4b218490899554868b259fb72bcadffa26a00908..f4819e9df508700a1b98bf4441ac05e3db3e8663 100644 (file)
@@ -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