Merge pull request #1 from catseye/master
Modern g++ needs unistd.h to be #include'd explicitly.
Tim O'Brien
7 years ago
36 | 36 |
|
37 | 37 |
// for stat in FrameSaveBMP function
|
38 | 38 |
#include <sys/stat.h>
|
|
39 |
|
|
40 |
// for usleep()
|
|
41 |
#include <unistd.h>
|
39 | 42 |
|
40 | 43 |
|
41 | 44 |
#define ENABLE_MENU 0
|
49 | 49 |
// for terminal structure and funcs
|
50 | 50 |
#include <termios.h>
|
51 | 51 |
#include <fcntl.h>
|
|
52 |
|
|
53 |
// for read() and write()
|
|
54 |
#include <unistd.h>
|
52 | 55 |
|
53 | 56 |
char SSC_rom[] =
|
54 | 57 |
"\x20\x9B\xC9\xA9\x16\x48\xA9\x00\x9D\xB8\x04\x9D\xB8\x03\x9D\x38"
|
39 | 39 |
|
40 | 40 |
// for Assertion
|
41 | 41 |
#include <assert.h>
|
|
42 |
|
|
43 |
// for usleep()
|
|
44 |
#include <unistd.h>
|
42 | 45 |
|
43 | 46 |
#ifndef _WIN32
|
44 | 47 |
//===============================================================================//
|