diff options
author | Josh Haberman <haberman@google.com> | 2013-02-15 16:27:18 -0800 |
---|---|---|
committer | Josh Haberman <haberman@google.com> | 2013-02-15 16:27:18 -0800 |
commit | 7d3e2bd2c4cfd1296d1d6f996d7548de26540d41 (patch) | |
tree | b4b35967b3322c65cfb1a32220e8718de09d85fc /upb/stdc | |
parent | ea198bdcf947ba4bd51474bdd4f7b82b5e4cf41d (diff) |
Sync with 8 months of Google-internal development.
Many things have changed and been simplified.
The memory-management story for upb_def and upb_handlers
is much more robust; upb_def and upb_handlers should be
fairly stable interfaces now. There is still much work
to do for the runtime component (upb_sink).
Diffstat (limited to 'upb/stdc')
-rw-r--r-- | upb/stdc/error.c | 1 | ||||
-rw-r--r-- | upb/stdc/io.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/upb/stdc/error.c b/upb/stdc/error.c index 313866c..85c9ca6 100644 --- a/upb/stdc/error.c +++ b/upb/stdc/error.c @@ -9,7 +9,6 @@ #include "upb/stdc/error.h" -#include <errno.h> #include <string.h> void upb_status_fromerrno(upb_status *status, int code) { diff --git a/upb/stdc/io.c b/upb/stdc/io.c index 1abed32..5d36aa5 100644 --- a/upb/stdc/io.c +++ b/upb/stdc/io.c @@ -7,6 +7,9 @@ #include "upb/stdc/io.h" +#include <errno.h> +#include <stdlib.h> +#include <string.h> #include "upb/stdc/error.h" // We can make this configurable if necessary. |