Commit edaaa11e authored by Stephen Hemminger's avatar Stephen Hemminger

Workaround missing ALIGN() macro.

parent 1b84ad55
......@@ -40,6 +40,11 @@
#include "xt-internal.h"
#endif
#ifndef ALIGN
#define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1)
#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask))
#endif
static const char *pname = "tc-ipt";
static const char *tname = "mangle";
static const char *pversion = "0.2";
......
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