UpstandingHackers / hammer

Parser combinators for binary formats, in C. Yes, in C. What? Don't look at me like that.
GNU General Public License v2.0
430 stars 40 forks source link

fixed include for internal.h #170

Closed tomime closed 7 years ago

tomime commented 7 years ago

Hi there,

i adjusted the inclusion of "internal.h" to (re-)enable workflow described in lecture 10 of the Hammer Primer. The old yielded:

 gcc -o test_base64 base64.c -lhammer `pkg-config --libs glib-2.0`
 In file included from test_suite.h:24:0,
                  from base64.c:2:
 internal.h:28:20: fatal error: hammer.h: file or directory not found
  #include "hammer.h"

This PR fixes this.

Cheers, tomime

tomime commented 7 years ago

Ok, apparently a stupid idea (according to the tests). I am therefore closing this.