$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_edit.c
sudo_noexec.o: $(srcdir)/sudo_noexec.c $(incdir)/compat.h $(top_builddir)/config.h
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_noexec.c
-term.o: $(srcdir)/term.c $(SUDODEP)
+term.o: $(srcdir)/term.c $(incdir)/compat.h $(top_builddir)/config.h
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/term.c
tgetpass.o: $(srcdir)/tgetpass.c $(SUDODEP)
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/tgetpass.c
/*
- * Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 2010 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
# include <termio.h>
#endif /* HAVE_TERMIOS_H */
-#include "sudo.h"
+#include "compat.h"
#ifndef TCSASOFT
# define TCSASOFT 0
# define TCSADRAIN TCSETAW
#endif /* HAVE_TERMIOS_H */
-typedef struct termios sudo_term_t;
-
-static sudo_term_t term, oterm;
+static struct termios term, oterm;
static int changed;
int term_erase;
int term_kill;