Skip to content

Commit

Permalink
Fix build on UWP arch
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Nov 8, 2024
1 parent bf30407 commit ff7a165
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions modules/io/src/tools/vpKeyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,18 @@
#include <stdio.h>

#if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
#include <stdio.h> // for getchar
#include <sys/select.h> // for select, FD_SET, FD_ZERO, fd_set
#include <sys/time.h> // for timeval
#include <termios.h> // for termios, tcsetattr, TCSANOW, tcget...
#include <unistd.h> // for STDIN_FILENO
#include <stdio.h> // for getchar
#include <sys/select.h> // for select, FD_SET, FD_ZERO, fd_set
#include <sys/time.h> // for timeval
#include <termios.h> // for termios, tcsetattr, TCSANOW, tcget...
#include <unistd.h> // for STDIN_FILENO
#elif defined(_WIN32)
#include <conio.h>
#endif

#include <visp3/io/vpKeyboard.h> // for vpKeyboard
#include <visp3/core/vpConfig.h> // for BEGIN_VISP_NAMESPACE, END_VISP_NAM...
#include <visp3/core/vpConfig.h> // for BEGIN_VISP_NAMESPACE, END_VISP_NAM...
#include <visp3/core/vpException.h> // for vpException
#include <visp3/io/vpKeyboard.h> // for vpKeyboard

BEGIN_VISP_NAMESPACE

Expand Down

0 comments on commit ff7a165

Please sign in to comment.