diff options
| author | Franklin Wei <git@fwei.tk> | 2016-03-28 14:11:22 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-03-31 17:09:36 -0400 |
| commit | ed95a5621ac9c4f5002e68a981f8b24d5caaedf4 (patch) | |
| tree | aee87cf74280e8f9dd29aca88d12a638f37b2493 /src/globals.h | |
| parent | 13052597a19fd2212efb7f51f19ed73b9f4b6ba4 (diff) | |
| download | netcosm-ed95a5621ac9c4f5002e68a981f8b24d5caaedf4.zip netcosm-ed95a5621ac9c4f5002e68a981f8b24d5caaedf4.tar.gz netcosm-ed95a5621ac9c4f5002e68a981f8b24d5caaedf4.tar.bz2 netcosm-ed95a5621ac9c4f5002e68a981f8b24d5caaedf4.tar.xz | |
kludge things to compile on old linux
Diffstat (limited to 'src/globals.h')
| -rw-r--r-- | src/globals.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h index 987d382..5a164ba 100644 --- a/src/globals.h +++ b/src/globals.h @@ -22,16 +22,17 @@ #define _GNU_SOURCE #include <ev.h> + #include <openssl/sha.h> #include <openssl/opensslv.h> #include <arpa/inet.h> #include <arpa/telnet.h> #include <assert.h> -#include <bsd/string.h> // for strlcat #include <ctype.h> #include <errno.h> #include <fcntl.h> +#include <inttypes.h> #include <limits.h> #include <netdb.h> #include <netinet/in.h> @@ -66,7 +67,7 @@ #define WORLD_MAGIC 0x31415926 #define USERDB_MAGIC 0x27182818 #define MAX_FAILURES 3 -#define NETCOSM_VERSION "0.5.0" +#define NETCOSM_VERSION "0.5.1" /* username length */ #define MAX_NAME_LEN 32 |