From f086893ec7b296533ca0692a2dfc893e3edc6c86 Mon Sep 17 00:00:00 2001
From: Sven Robertz <sven@cs.lth.se>
Date: Wed, 24 Apr 2013 17:25:25 +0200
Subject: [PATCH] adapted simple example to encoder/decoder.h

---
 examples/simple/example_decoder.c | 3 ++-
 examples/simple/example_encoder.c | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/examples/simple/example_decoder.c b/examples/simple/example_decoder.c
index 6774808..79a6767 100644
--- a/examples/simple/example_decoder.c
+++ b/examples/simple/example_decoder.c
@@ -1,8 +1,9 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <labcomm_fd_reader_writer.h>
+#include <labcomm_fd_reader.h>
 #include "gen/simple.h"
+#include <stdio.h>
 
 static void handle_simple_theTwoInts(simple_TwoInts *v,void *context) {
   printf("Got theTwoInts. a=%d, b=%d\n", v->a, v->b);
diff --git a/examples/simple/example_encoder.c b/examples/simple/example_encoder.c
index 5ce76ea..b516a3a 100644
--- a/examples/simple/example_encoder.c
+++ b/examples/simple/example_encoder.c
@@ -1,8 +1,9 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <labcomm_fd_reader_writer.h>
+#include <labcomm_fd_writer.h>
 #include "gen/simple.h"
+#include <stdio.h>
 
 int main(int argc, char *argv[]) {
   int fd;
-- 
GitLab