Skip to content

Commit

Permalink
grovel: include <inttypes.h>
Browse files Browse the repository at this point in the history
This header defines the PRI{fmt}{type} printf format specifiers used by
foreign-type-to-printf-specification.
  • Loading branch information
luismbo committed Nov 4, 2012
1 parent 993dc1d commit d66b1f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grovel/common.h
Expand Up @@ -2,6 +2,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <inttypes.h>

#ifndef offsetof
#define offsetof(type, slot) ((long) ((char *) &(((type *) 0)->slot)))
Expand Down

0 comments on commit d66b1f2

Please sign in to comment.