Include cmath instead of math.h

This fixes build on, at least, NetBSD 8.1 with gcc 5.5 and SmartOS with gcc 7.
pull/6771/head
Juraj Lutter 6 years ago committed by Adam Cozzette
parent 3a505c2ded
commit 982222e71a
  1. 2
      src/google/protobuf/text_format.cc

@ -35,7 +35,7 @@
#include <google/protobuf/text_format.h>
#include <float.h>
#include <math.h>
#include <cmath>
#include <stdio.h>
#include <algorithm>

Loading…
Cancel
Save