aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-31 13:32:11 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-31 13:32:11 +0000
commitefb40d0fe59817d10d6bcf2d545ae4ac0a887553 (patch)
tree8b96ade1ef4f07a1645bf7bdbfc34fcaa2b725db /apps
parent116b73cebbd211cbbeaaba949acc84178cf24784 (diff)
Merge NetBSD and Courtesty tone with modifications (bug #2329)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3686 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_sms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_sms.c b/apps/app_sms.c
index 0f23ebce2..a7b55bd46 100755
--- a/apps/app_sms.c
+++ b/apps/app_sms.c
@@ -203,7 +203,7 @@ static void
packdate (unsigned char *o, time_t w)
{
struct tm *t = localtime (&w);
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__)
int z = - t->tm_gmtoff / 3600 / 15;
#else
int z = timezone / 3600 / 15;