aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ginda <rginda@chromium.org>2015-08-21 11:07:51 -0700
committerRobert Ginda <rginda@chromium.org>2015-08-21 11:10:38 -0700
commitceff2382ac672bf9272b8c7a2b6286d392af7dd6 (patch)
tree1e1b929505b00e9ecee54c2e03592d3c86afeb3e
parentbc61af047438cd9d9c8d38e3ce9ec95e3f2b7d32 (diff)
downloadavahi-ceff2382ac672bf9272b8c7a2b6286d392af7dd6.tar.gz
Assume size_t is defined everywhere __BIONIC__ is defined.
This failed some builders which did not have a _SIZE_T_DECLARED macro but also did not have the __size_t symbol. Change-Id: Ifa69506afa07272dde64e234497094c1aed6a9a2
-rw-r--r--avahi-daemon/glob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/avahi-daemon/glob.h b/avahi-daemon/glob.h
index aa11320..6f5fd20 100644
--- a/avahi-daemon/glob.h
+++ b/avahi-daemon/glob.h
@@ -47,10 +47,12 @@
#include <sys/cdefs.h>
#include <sys/types.h>
+#ifndef __BIONIC__
#ifndef _SIZE_T_DECLARED
typedef __size_t size_t;
#define _SIZE_T_DECLARED
#endif
+#endif
struct stat;
typedef struct {