diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/userpref.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/userpref.c b/common/userpref.c index 9c2c563..08ab7e2 100644 --- a/common/userpref.c +++ b/common/userpref.c | |||
| @@ -29,13 +29,18 @@ | |||
| 29 | #include <stdint.h> | 29 | #include <stdint.h> |
| 30 | #include <stdlib.h> | 30 | #include <stdlib.h> |
| 31 | #include <string.h> | 31 | #include <string.h> |
| 32 | #include <errno.h> | ||
| 33 | |||
| 32 | #ifdef HAVE_SYS_TYPES_H | 34 | #ifdef HAVE_SYS_TYPES_H |
| 33 | #include <sys/types.h> | 35 | #include <sys/types.h> |
| 34 | #endif | 36 | #endif |
| 37 | #include <dirent.h> | ||
| 35 | #ifndef _WIN32 | 38 | #ifndef _WIN32 |
| 36 | #include <pwd.h> | 39 | #include <pwd.h> |
| 37 | #endif | ||
| 38 | #include <unistd.h> | 40 | #include <unistd.h> |
| 41 | #include <libgen.h> | ||
| 42 | #include <sys/stat.h> | ||
| 43 | #endif | ||
| 39 | #include <usbmuxd.h> | 44 | #include <usbmuxd.h> |
| 40 | #if defined(HAVE_OPENSSL) | 45 | #if defined(HAVE_OPENSSL) |
| 41 | #include <openssl/bn.h> | 46 | #include <openssl/bn.h> |
| @@ -64,11 +69,6 @@ | |||
| 64 | #error No supported TLS/SSL library enabled | 69 | #error No supported TLS/SSL library enabled |
| 65 | #endif | 70 | #endif |
| 66 | 71 | ||
| 67 | #include <dirent.h> | ||
| 68 | #include <libgen.h> | ||
| 69 | #include <sys/stat.h> | ||
| 70 | #include <errno.h> | ||
| 71 | |||
| 72 | #ifdef _WIN32 | 72 | #ifdef _WIN32 |
| 73 | #include <shlobj.h> | 73 | #include <shlobj.h> |
| 74 | #endif | 74 | #endif |
