diff --git a/[refs] b/[refs] index ad6d853070c4..f51ee6dce22d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7752f1b096e13991f20b59fd11ba73da3809d93c +refs/heads/master: 32ec6acfdcc066313261d0fbe6a966cb1804a7cd diff --git a/trunk/tools/perf/util/newt.c b/trunk/tools/perf/util/newt.c index ccb7c5bb269e..9338d060ee49 100644 --- a/trunk/tools/perf/util/newt.c +++ b/trunk/tools/perf/util/newt.c @@ -1,7 +1,15 @@ #define _GNU_SOURCE #include #undef _GNU_SOURCE - +/* + * slang versions <= 2.0.6 have a "#if HAVE_LONG_LONG" that breaks + * the build if it isn't defined. Use the equivalent one that glibc + * has on features.h. + */ +#include +#ifndef HAVE_LONG_LONG +#define HAVE_LONG_LONG __GLIBC_HAVE_LONG_LONG +#endif #include #include #include