diff options
Diffstat (limited to 'ext/libelf/elf_strptr.c')
-rw-r--r-- | ext/libelf/elf_strptr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/libelf/elf_strptr.c b/ext/libelf/elf_strptr.c index b89b0eac7..6a05fa1d4 100644 --- a/ext/libelf/elf_strptr.c +++ b/ext/libelf/elf_strptr.c @@ -26,6 +26,9 @@ #include <sys/param.h> +#ifdef __sun +#include <sys/sysmacros.h> +#endif #include <assert.h> #include "gelf.h" |