Skip to content

Commit

Permalink
Fix Solaris 10 build.
Browse files Browse the repository at this point in the history
Fixes #260: Unable to compile/install the client under Solaris 10 U11
  • Loading branch information
Marco van Wieringen committed Dec 12, 2013
1 parent 8c21142 commit f38ef0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions platforms/Makefile.in
Expand Up @@ -11,8 +11,6 @@
SUBDIRS = hurd freebsd redhat suse solaris unknown openbsd osx irix gentoo \
debian darwin aix bsdi mandrake slackware alpha ubuntu systemd

MAKE = make

DISTNAME=@DISTNAME@
DISTVER=@DISTVER@

Expand Down
2 changes: 1 addition & 1 deletion src/lib/bsys.c
Expand Up @@ -889,7 +889,7 @@ static char **backtrace_symbols(void *const *array, int size)
if (ret_buffer) {
for (i = 0; i < size; i++) {
(void) addrtosymstr(array[i], linebuffer, sizeof(linebuffer));
ret_buffer[i] = actuallymalloc(len = strlen(linebuffer) + 1);
ret_buffer[i] = (char *)actuallymalloc(len = strlen(linebuffer) + 1);
strcpy(ret_buffer[i], linebuffer);
bufferlen += len;
}
Expand Down

0 comments on commit f38ef0b

Please sign in to comment.