aboutsummaryrefslogtreecommitdiffstats
path: root/android/utils
diff options
context:
space:
mode:
authorAlexey Tarasov <tarasov@dodologics.com>2009-09-01 02:23:17 +1100
committerJean-Baptiste Queru <jbq@google.com>2009-09-08 17:17:22 -0700
commitbe4da91955d96196cf5bca31156c25692e94a62d (patch)
tree8aea2e310083cc4d61d7da060955950a18270276 /android/utils
parent37f0fd547e05c8bcfa59eee57c9988c1f3969fb1 (diff)
downloadexternal_qemu-be4da91955d96196cf5bca31156c25692e94a62d.zip
external_qemu-be4da91955d96196cf5bca31156c25692e94a62d.tar.gz
external_qemu-be4da91955d96196cf5bca31156c25692e94a62d.tar.bz2
Allowed building on FreeBSD same timezone related code as for Linux.
Diffstat (limited to 'android/utils')
-rw-r--r--android/utils/timezone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/utils/timezone.c b/android/utils/timezone.c
index b5588a3..f4b78db 100644
--- a/android/utils/timezone.c
+++ b/android/utils/timezone.c
@@ -96,7 +96,7 @@ bufprint_zoneinfo_timezone( char* p, char* end )
/* on OS X, the timezone directory is always /usr/share/zoneinfo
* this makes things easy.
*/
-#ifdef __APPLE__
+#if defined(__APPLE__)
#include <unistd.h>
#include <limits.h>
@@ -149,7 +149,7 @@ get_zoneinfo_timezone( void )
* the original timezone file. the only way to know which zoneinfo name to retrieve is to compare
* it with all files in $TZDIR (at least those that match Area/Location or Area/Location/SubLocation
*/
-#ifdef __linux__
+#if defined(__linux__) || defined (__FreeBSD__)
#include <unistd.h>
#include <limits.h>