File: add-ctime.patch

package info (click to toggle)
openbabel 3.1.1%2Bdfsg-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 259,740 kB
  • sloc: cpp: 361,956; python: 11,640; ansic: 6,470; perl: 6,010; pascal: 793; php: 529; sh: 226; xml: 97; ruby: 64; makefile: 45; java: 23
file content (12 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
Description: Add '#include <ctime>' as 'clock' is defined there (#1016227).
Author: Andrius Merkys <merkys@debian.org>
--- a/include/openbabel/obutil.h
+++ b/include/openbabel/obutil.h
@@ -37,6 +37,7 @@
 #endif
 
 #include <math.h>
+#include <ctime>
 
 #ifndef M_PI
 #define M_PI 3.14159265358979323846