projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc9edd9
)
Add missing #include <limits.h>.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 24 Jan 2013 21:34:49 +0000
(22:34 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 24 Jan 2013 21:35:23 +0000
(22:35 +0100)
The file ruler.cpp uses INT_MAX from <limits.h>, so add the #include line.
Without this, the build would fail on some systems (due to -Werror).
pv/view/ruler.cpp
patch
|
blob
|
history
diff --git
a/pv/view/ruler.cpp
b/pv/view/ruler.cpp
index ba4bd042393ec0590e9e2942ece671fa8a3aa2b6..f4cbc1cab5a0cf1c3784b07b3570ff1b9f4b03d2 100644
(file)
--- a/
pv/view/ruler.cpp
+++ b/
pv/view/ruler.cpp
@@
-28,6
+28,7
@@
#include <assert.h>
#include <math.h>
+#include <limits.h>
#include <QMouseEvent>
#include <QPainter>