Diffstat (limited to 'gammu/emb/common/device/serial/ser_unx.h') (more/less context) (show whitespace changes)
-rw-r--r-- | gammu/emb/common/device/serial/ser_unx.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gammu/emb/common/device/serial/ser_unx.h b/gammu/emb/common/device/serial/ser_unx.h new file mode 100644 index 0000000..ca8fe5a --- a/dev/null +++ b/gammu/emb/common/device/serial/ser_unx.h | |||
@@ -0,0 +1,22 @@ | |||
1 | |||
2 | #ifndef WIN32 | ||
3 | #ifndef DJGPP | ||
4 | #ifndef unixserial_h | ||
5 | #define unixserial_h | ||
6 | |||
7 | #include <fcntl.h> | ||
8 | #include <sys/ioctl.h> | ||
9 | #include <termios.h> | ||
10 | |||
11 | typedef struct { | ||
12 | int hPhone; | ||
13 | struct termios old_settings; | ||
14 | } GSM_Device_SerialData; | ||
15 | |||
16 | #endif | ||
17 | #endif | ||
18 | #endif | ||
19 | |||
20 | /* How should editor hadle tabs in this file? Add editor commands here. | ||
21 | * vim: noexpandtab sw=8 ts=8 sts=8: | ||
22 | */ | ||