--- apps/app_sms.c.1 2017-11-16 21:35:08.702144337 +0000 +++ apps/app_sms.c 2017-11-16 21:35:38.045907872 +0000 @@ -1177,10 +1177,6 @@ return 0; /* no error */ } -#ifdef SOLARIS -#define NAME_MAX 1024 -#endif - /*! * Add data to a protocol 2 message. * Use the length field (h->omsg[1]) as a pointer to the next free position.