Skip to content

Commit

Permalink
[NaCl SDK] Add include of stdint.h to netdb.h
Browse files Browse the repository at this point in the history
uint32_t is used in the declaration of getnetbyaddr but
stdin.h was not directly included.

This will be needed once this change the newlib headers
lands: https://codereview.chromium.org/1163893003

BUG= https://code.google.com/p/nativeclient/issues/detail?id=4198

Review URL: https://codereview.chromium.org/1167113002

Cr-Commit-Position: refs/heads/master@{#333601}
  • Loading branch information
sbc100 authored and Commit bot committed Jun 9, 2015
1 parent 4ece34b commit 8ee7ead
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/ansi.h>
#include <stdint.h>
#include <stdio.h>

#ifndef __socklen_t_defined
Expand Down

0 comments on commit 8ee7ead

Please sign in to comment.