diff options
Diffstat (limited to 'src/internal.h')
-rw-r--r-- | src/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h index ee09661..b6df4dd 100644 --- a/src/internal.h +++ b/src/internal.h @@ -73,4 +73,6 @@ struct nft_set_elem { offset += ret; \ len -= ret; +#define div_round_up(n, d) (((n) + (d) - 1) / (d)) + #endif |