Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199087
b: refs/heads/master
c: 32ec6ac
h: refs/heads/master
i:
  199085: aa97c29
  199083: 84cf61c
  199079: bd8699e
  199071: 0a0898b
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed May 18, 2010
1 parent 9353415 commit aae1603
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7752f1b096e13991f20b59fd11ba73da3809d93c
refs/heads/master: 32ec6acfdcc066313261d0fbe6a966cb1804a7cd
10 changes: 9 additions & 1 deletion trunk/tools/perf/util/newt.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#define _GNU_SOURCE
#include <stdio.h>
#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 <features.h>
#ifndef HAVE_LONG_LONG
#define HAVE_LONG_LONG __GLIBC_HAVE_LONG_LONG
#endif
#include <slang.h>
#include <stdlib.h>
#include <newt.h>
Expand Down

0 comments on commit aae1603

Please sign in to comment.