Fix make check includes
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 20 May 2011 19:29:42 +0000 (15:29 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 20 May 2011 19:29:42 +0000 (15:29 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/simple_include/simple_include.c
tests/snprintf/Makefile.am
tests/snprintf/prog.c

index 75c68644b324843febba2747b972e25e7530f394..ccf14ce96c063ff8491e9ecf7fa65b0ec0dfb683 100644 (file)
@@ -15,6 +15,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include <ust/ust.h>
+#include <ust/tracepoint.h>
+#include <ust/marker.h>
 
 int main () { return 0; }
index 809531b13bce2654d73582bf913df920d7311a71..734ab18abfb851d7b692a08167ed92daba4d618f 100644 (file)
@@ -1,3 +1,5 @@
+AM_CPPFLAGS = -I$(top_srcdir)/include
+
 check_PROGRAMS = prog
 prog_SOURCES = prog.c
 prog_LDADD = $(top_builddir)/snprintf/libustsnprintf.la
index ac888b5898fd3672044408ae97308f377b00064d..dd0b04f8e8927a3a74f912b9b79c1a477f40ebac 100644 (file)
 
 #include <stdio.h>
 #include <string.h>
+#include "ust_snprintf.h"
 
 int main()
 {
        char buf[100];
-
        char *expected;
 
        expected = "header 9999, hello, 005, '    9'";
This page took 0.027294 seconds and 4 git commands to generate.