mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
base: include sys/types.h in symbolize.h
It is needed for ssize_t. In glibc specifically, ssize_t happens to get transitively included by some other header - I'm not sure exactly what - but POSIX says ssize_t is in sys/types.h and in other libcs the included is needed for the type. Bug: 1380656 Change-Id: Ibeef8c80f44595b6056fc1be8a104ab7428aa8bb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3997878 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/main@{#1066486}
This commit is contained in:
parent
c1b789a825
commit
f032d7911c
2
src/base/third_party/symbolize/symbolize.h
vendored
2
src/base/third_party/symbolize/symbolize.h
vendored
@ -54,6 +54,8 @@
|
|||||||
#ifndef BASE_SYMBOLIZE_H_
|
#ifndef BASE_SYMBOLIZE_H_
|
||||||
#define BASE_SYMBOLIZE_H_
|
#define BASE_SYMBOLIZE_H_
|
||||||
|
|
||||||
|
#include <sys/types.h> // for ssize_t
|
||||||
|
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "glog/logging.h"
|
#include "glog/logging.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user