fix build with older popt.h (bug #4225)
authorKevin P. Fleming <kpfleming@digium.com>
Sun, 15 May 2005 03:32:20 +0000 (03:32 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Sun, 15 May 2005 03:32:20 +0000 (03:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5665 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/smsq.c

index 0da4c83..1463b62 100755 (executable)
@@ -13,7 +13,9 @@
 #include <solaris-compat/compat.h>
 #define     POPT_ARGFLAG_SHOW_DEFAULT 0x00800000
 #endif
-
+#if !defined(POPT_ARGFLAG_SHOW_DEFAULT)
+#define     POPT_ARGFLAG_SHOW_DEFAULT 0x00800000
+#endif
 
 /* SMS queuing application for use with asterisk app_sms */
 /* by Adrian Kennard, 2004 - 2005 */