[lttng-dev] [PATCH lttng-tools 2/2] Fix: add missing sys/types.h header

Jérémie Galarneau jeremie.galarneau at efficios.com
Fri Mar 18 20:34:06 UTC 2016


Both patches are merged in master, thanks!

Jérémie

On Tue, Mar 8, 2016 at 7:55 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> The musl C library requires inclusion of sys/types.h for mode_t.
>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>  src/common/runas.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/common/runas.h b/src/common/runas.h
> index 2c5565af3646..ac1143eecf84 100644
> --- a/src/common/runas.h
> +++ b/src/common/runas.h
> @@ -19,6 +19,7 @@
>   * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
>   */
>
> +#include <sys/types.h>
>  #include <unistd.h>
>  #include <pthread.h>
>
> --
> 2.7.0
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list