diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index 12c055d71ad79..0770e3390f737 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -12,6 +12,10 @@ #include "config.h" #ifdef HAVE_DL_ITERATE_PHDR +#ifdef __sun +#undef _FILE_OFFSET_BITS +#define _FILE_OFFSET_BITS 32 +#endif #include #endif