… | … | ||
---|---|---|---|
30 | #ifdef HAVE_GETPT | 30 | #ifdef HAVE_GETPT |
31 | # define _GNU_SOURCE | 31 | # define _GNU_SOURCE |
32 | #endif | 32 | #endif |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #include <stdio.h> | 35 | #include <cstdio> |
36 | #ifdef HAVE_STDLIB_H | 36 | #ifdef HAVE_STDLIB_H |
37 | # include <stdlib.h> | 37 | # include <cstdlib> |
38 | #endif | 38 | #endif |
39 | #ifdef HAVE_SYS_TYPES_H | 39 | #ifdef HAVE_SYS_TYPES_H |
40 | # include <sys/types.h> | 40 | # include <sys/types.h> |
41 | #endif | 41 | #endif |
42 | #ifdef HAVE_UNISTD_H | 42 | #ifdef HAVE_UNISTD_H |
43 | # include <unistd.h> | 43 | # include <unistd.h> |
44 | #endif | 44 | #endif |
45 | #if defined(HAVE_STRING_H) | 45 | #if defined(HAVE_STRING_H) |
46 | # include <string.h> | 46 | # include <cstring> |
47 | #endif | 47 | #endif |
48 | #ifdef HAVE_FCNTL_H | 48 | #ifdef HAVE_FCNTL_H |
49 | # include <fcntl.h> | 49 | # include <fcntl.h> |
50 | #endif | 50 | #endif |
51 | #ifdef HAVE_SYS_IOCTL_H | 51 | #ifdef HAVE_SYS_IOCTL_H |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |