*** ./src/main.c.ORIG Mon Oct 9 19:00:02 2017 --- ./src/main.c Mon Oct 9 18:59:40 2017 *************** *** 439,444 **** --- 439,450 ---- static const char *shortopts = "hvVlW:H:r:x:S:M:L:R:T:B:A:P:t:u:c23epsgb:d:C:z:G:nqa:O:o:k:i"; + #if defined(_AIX) && !defined(_AIX52) + double round(double x){ + return (x >= 0) ? floor(x+0.5) : ceil(x-0.5); + } + #endif + static void dopts(int ac, char *av[]) { int c; char *p;