Commit c227f558 authored by Vladimír Čunát's avatar Vladimír Čunát

lib/generic/trie: avoid uint redefinition

Well, we could e.g require C11 instead of C99, but this one is easy.
parent c85fcff7
......@@ -47,7 +47,10 @@
#endif
typedef unsigned char byte;
#ifndef uint
typedef unsigned int uint;
#define uint uint
#endif
typedef uint bitmap_t; /*! Bit-maps, using the range of 1<<0 to 1<<16 (inclusive). */
typedef struct {
......
......@@ -31,7 +31,7 @@
*
* XXX EDITORS: trie.{h,c} are synced from
* https://gitlab.labs.nic.cz/knot/knot-dns/tree/68352fc969/src/contrib/qp-trie
* only with #includes adjusted.
* only with tiny adjustments, mostly #includes.
*/
/*! \brief Element value. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment