diff mbox

fix gccjit build failure

Message ID 56A6A26E.6040802@ubuntu.com
State New
Headers show

Commit Message

Matthias Klose Jan. 25, 2016, 10:32 p.m. UTC
gccjit currently fails to build, needing an additional header. Ok to install on 
the trunk?

Matthias


	* jit-playback.c: Include <pthread.h>.
diff mbox

Patch

--- a/gcc/jit/jit-playback.c
+++ b/gcc/jit/jit-playback.c
@@ -43,6 +43,8 @@  along with GCC; see the file COPYING3.
  #include "jit-builtins.h"
  #include "jit-tempdir.h"

+#include <pthread.h>
+

  /* gcc::jit::playback::context::build_cast uses the convert.h API,
     which in turn requires the frontend to provide a "convert"