diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-12 14:53:53 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-12 14:53:53 +0000 |
commit | 0fc3e43ba0f69c5308ccbaa65cec0f1d1d8e9d5e (patch) | |
tree | 8e17b3b9508e5e754f8c77b48065ab65621bfe56 /apps/app_sms.c | |
parent | 8ff8c3ad06efc886ed39946b2d740dd190cec0a3 (diff) |
Fix OpenBSD compile (bug #1830)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3194 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_sms.c')
-rwxr-xr-x | apps/app_sms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_sms.c b/apps/app_sms.c index 6e3be3f94..7e704449f 100755 --- a/apps/app_sms.c +++ b/apps/app_sms.c @@ -205,7 +205,7 @@ static void packdate (unsigned char *o, time_t w) { struct tm *t = localtime (&w); -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__OpenBSD__) int z = - t->tm_gmtoff / 3600 / 15; #else int z = timezone / 3600 / 15; |