Mercurial > hg > nnchat
comparison main.c @ 555:66d18a82d6b9
Clean up header includes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 12 Nov 2012 20:03:18 +0200 |
parents | 13901e9be15b |
children | 9b72d0060b85 |
comparison
equal
deleted
inserted
replaced
554:13901e9be15b | 555:66d18a82d6b9 |
---|---|
6 #include "util.h" | 6 #include "util.h" |
7 #include "network.h" | 7 #include "network.h" |
8 #include "ui.h" | 8 #include "ui.h" |
9 #include "th_args.h" | 9 #include "th_args.h" |
10 #include "th_config.h" | 10 #include "th_config.h" |
11 #include <time.h> | |
12 #include <errno.h> | 11 #include <errno.h> |
12 #include <unistd.h> | |
13 #include <fcntl.h> | |
13 #ifdef __WIN32 | 14 #ifdef __WIN32 |
14 #include <shlwapi.h> | 15 #include <shlwapi.h> |
15 #include <shfolder.h> | 16 #include <shfolder.h> |
16 #define srandom srand | 17 #define srandom srand |
17 #define random rand | 18 #define random rand |
18 #else | 19 #else |
19 #include <sys/wait.h> | 20 #include <sys/wait.h> |
20 #include <sys/stat.h> | 21 #include <sys/stat.h> |
21 #include <sys/types.h> | 22 #include <sys/types.h> |
22 #include <unistd.h> | |
23 #endif | 23 #endif |
24 | 24 |
25 #ifdef __WIN32 | 25 #ifdef __WIN32 |
26 #define SET_CONFIG_FILE "nnchat.txt" | 26 #define SET_CONFIG_FILE "nnchat.txt" |
27 #define SET_LOG_DIR "NNChat Log Files" | 27 #define SET_LOG_DIR "NNChat Log Files" |