Directadmin

When compiling vm-pop3d: error: `UINT16_MAX’ undeclared

To compile vm-pop3d: ¬† (use –prefix=/usr on Linux)

wget http://files.directadmin.com/services/da_vm-pop3d-1.1.7f.tar.gz
tar xvzf da_vm-pop3d-1.1.7f.tar.gz
cd da_vm-pop3d-1.1.7f
./configure –prefix=/usr/local
make
make  install

If you get:

vm-pop3d.c: In function `main’:
vm-pop3d.c:126: error: `UINT16_MAX’ undeclared (first use in this function)
vm-pop3d.c:126: error: (Each undeclared identifier is reported only once
vm-pop3d.c:126: error: for each function it appears in.)

Then edit the config.h, and add:

#define UINT16_MAX 65535

and type make, make install again.