git @ Cat's Eye Technologies linapple / 48b9a31
Merge pull request #1 from catseye/master Modern g++ needs unistd.h to be #include'd explicitly. Tim O'Brien 7 years ago
3 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3636
3737 // for stat in FrameSaveBMP function
3838 #include <sys/stat.h>
39
40 // for usleep()
41 #include <unistd.h>
3942
4043
4144 #define ENABLE_MENU 0
4949 // for terminal structure and funcs
5050 #include <termios.h>
5151 #include <fcntl.h>
52
53 // for read() and write()
54 #include <unistd.h>
5255
5356 char SSC_rom[] =
5457 "\x20\x9B\xC9\xA9\x16\x48\xA9\x00\x9D\xB8\x04\x9D\xB8\x03\x9D\x38"
3939
4040 // for Assertion
4141 #include <assert.h>
42
43 // for usleep()
44 #include <unistd.h>
4245
4346 #ifndef _WIN32
4447 //===============================================================================//