Date: Fri, 19 Oct 2007 10:16:40 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 127758 for review Message-ID: <200710191016.l9JAGeRO002762@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127758 Change 127758 by jb@jb_freebsd1 on 2007/10/19 10:15:53 Add some Solaris compatibility definitions. Affected files ... .. //depot/projects/dtrace/src/include/stdlib.h#7 edit .. //depot/projects/dtrace/src/include/strings.h#4 edit Differences ... ==== //depot/projects/dtrace/src/include/stdlib.h#7 (text+ko) ==== @@ -282,6 +282,10 @@ extern char *suboptarg; /* getsubopt(3) external variable */ #endif /* __BSD_VISIBLE */ + +#ifdef _SOLARIS_C_SOURCE +#define getexecname getprogname +#endif __END_DECLS #endif /* !_STDLIB_H_ */ ==== //depot/projects/dtrace/src/include/strings.h#4 (text+ko) ==== @@ -53,4 +53,8 @@ int strncasecmp(const char *, const char *, size_t) __pure; __END_DECLS +#ifdef _SOLARIS_C_SOURCE +#include <string.h> +#endif + #endif /* _STRINGS_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710191016.l9JAGeRO002762>