libratbox: define UINT16_MAX
UINT16_MAX may not be defined on some ancient hosts (FreeBSD 4.8) It's used by libratbox/src/tools.c
This commit is contained in:
parent
32c3cbd857
commit
41aed6bbf7
1 changed files with 4 additions and 0 deletions
|
@ -171,6 +171,10 @@ char *rb_strerror(int error);
|
|||
#define INT16SZ 2
|
||||
#endif
|
||||
|
||||
#ifndef UINT16_MAX
|
||||
#define UINT16_MAX (65535U)
|
||||
#endif
|
||||
|
||||
|
||||
typedef void log_cb(const char *buffer);
|
||||
typedef void restart_cb(const char *buffer);
|
||||
|
|
Loading…
Reference in a new issue