Browse code

Fix compilation errors due to R header changes.

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/seqbias@114771 bc3139a8-67e5-0310-9ffc-ced21a209358

Daniel Jones authored on 15/03/2016 01:54:57
Showing 1 changed files

... ...
@@ -2,6 +2,12 @@
2 2
 #include "sequencing_bias.hpp"
3 3
 #include <algorithm>
4 4
 
5
+#include <R.h>
6
+#include <Rinternals.h>
7
+#include <Rdefines.h>
8
+#include <R_ext/Rdynload.h>
9
+#include <cstdio>
10
+
5 11
 extern "C" {
6 12
 
7 13
 #include "samtools/faidx.h"
... ...
@@ -12,11 +18,6 @@ extern "C" {
12 18
 #undef ERROR
13 19
 #endif
14 20
 
15
-#include <R.h>
16
-#include <Rinternals.h>
17
-#include <Rdefines.h>
18
-#include <R_ext/Rdynload.h>
19
-#include <stdio.h>
20 21
 
21 22
 // more R namespace pollution
22 23
 #if defined(nrows)