diff options
Diffstat (limited to 'hcid/glib-ectomy.h')
-rw-r--r-- | hcid/glib-ectomy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/glib-ectomy.h b/hcid/glib-ectomy.h index 78cd9d8a..b1ac263b 100644 --- a/hcid/glib-ectomy.h +++ b/hcid/glib-ectomy.h @@ -24,6 +24,11 @@ typedef const void *gconstpointer; typedef size_t gsize; typedef ssize_t gssize; +#ifndef SSIZE_MAX +#define SSIZE_MAX INT_MAX +#endif + + typedef struct _GIOChannel { int fd; } GIOChannel; |