[test/sanitizer-common] Move getpass.cc from Linux into Posix

llvm-svn: 263017
This commit is contained in:
Filipe Cabecinhas 2016-03-09 15:39:43 +00:00
parent d2f15ba3a1
commit 42bba2eb2a
1 changed files with 4 additions and 0 deletions

View File

@ -4,7 +4,11 @@
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#if __linux__
#include <pty.h>
#else
#include <util.h>
#endif
int
main (int argc, char** argv)