svn commit: samba r3510 - in branches/SAMBA_4_0/source/lib: .
metze at samba.org
metze at samba.org
Wed Nov 3 14:51:49 GMT 2004
Author: metze
Date: 2004-11-03 14:51:49 +0000 (Wed, 03 Nov 2004)
New Revision: 3510
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3510
Log:
fix build on SuSE 9.1
metze
Modified:
branches/SAMBA_4_0/source/lib/getsmbpass.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/getsmbpass.c
===================================================================
--- branches/SAMBA_4_0/source/lib/getsmbpass.c 2004-11-03 13:33:30 UTC (rev 3509)
+++ branches/SAMBA_4_0/source/lib/getsmbpass.c 2004-11-03 14:51:49 UTC (rev 3510)
@@ -19,6 +19,8 @@
/* Modified to use with samba by Jeremy Allison, 8th July 1995. */
#include "includes.h"
+#include "include/system/terminal.h"
+#include "include/system/wait.h"
#ifdef REPLACE_GETPASS
@@ -40,16 +42,16 @@
#define TCSANOW 0
#endif
-static int tcgetattr(int fd, struct termio *t)
+static int tcgetattr(int fd, struct termio *_t)
{
- return ioctl(fd, TCGETA, t);
+ return ioctl(fd, TCGETA, _t);
}
-static int tcsetattr(int fd, int flags, struct termio *t)
+static int tcsetattr(int fd, int flags, struct termio *_t)
{
if(flags & TCSAFLUSH)
ioctl(fd, TCFLSH, TCIOFLUSH);
- return ioctl(fd, TCSETS, t);
+ return ioctl(fd, TCSETS, _t);
}
#elif !defined(TCSAFLUSH)
@@ -65,14 +67,14 @@
#define TCSAFLUSH 1
#define TCSANOW 0
-static int tcgetattr(int fd, struct sgttyb *t)
+static int tcgetattr(int fd, struct sgttyb *_t)
{
- return ioctl(fd, TIOCGETP, (char *)t);
+ return ioctl(fd, TIOCGETP, (char *)_t);
}
-static int tcsetattr(int fd, int flags, struct sgttyb *t)
+static int tcsetattr(int fd, int flags, struct sgttyb *_t)
{
- return ioctl(fd, TIOCSETP, (char *)t);
+ return ioctl(fd, TIOCSETP, (char *)_t);
}
#else /* POSIX TERMIO HANDLING */
More information about the samba-cvs
mailing list