diff --git a/lib/bind/port_after.h.in b/lib/bind/port_after.h.in index 067742a188..701ae1f1d6 100644 --- a/lib/bind/port_after.h.in +++ b/lib/bind/port_after.h.in @@ -110,4 +110,8 @@ int daemon(int nochdir, int noclose); char * strsep(char **stringp, const char *delim); #endif +#ifndef ALIGN +#define ALIGN(p) (((unsigned int)(p) + (sizeof(int) - 1)) & ~(sizeof(int) - 1)) +#endif + #endif