aboutsummaryrefslogtreecommitdiffstats
path: root/pb_encode.c
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-03-09 14:56:34 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-03-09 14:56:34 +0200
commit03e53930723dce5793678365f350e94c2bc358dc (patch)
tree2aac5d81701efb541c77fe1bfbc738a531f21aff /pb_encode.c
parentd580b225e859ef0462e1d96553003eff2793b796 (diff)
Add PB_SYSTEM_HEADER compile time option.
This allows replacing the C99 standard include file names with a single system-specific file. It should provide all the necessary system functions (typedefs, memset, memcpy, strlen). Update issue 62 Status: FixedInGit
Diffstat (limited to 'pb_encode.c')
-rw-r--r--pb_encode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pb_encode.c b/pb_encode.c
index fd4b6ba..7acee36 100644
--- a/pb_encode.c
+++ b/pb_encode.c
@@ -6,7 +6,6 @@
#define NANOPB_INTERNALS
#include "pb.h"
#include "pb_encode.h"
-#include <string.h>
/* The warn_unused_result attribute appeared first in gcc-3.4.0 */
#if !defined(__GNUC__) || ( __GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)