summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-03-15 15:44:57 +0100
committerDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-03-15 15:44:57 +0100
commitceaea65296a9cb6e2235b0dd429ab3d590b634d3 (patch)
treede41d0f550f86da1a671fcbbcb65fa15439c78b5 /include
parent74dc5818ac8586fcc36915874592c9f4fbb4e6f6 (diff)
downloadouroboros-ceaea65296a9cb6e2235b0dd429ab3d590b634d3.tar.gz
ouroboros-ceaea65296a9cb6e2235b0dd429ab3d590b634d3.zip
lib: Updated du_buff not limit allowable PCI size
PCI can now occupy at most one block
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/du_buff.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ouroboros/du_buff.h b/include/ouroboros/du_buff.h
index 66904ca7..5c97731e 100644
--- a/include/ouroboros/du_buff.h
+++ b/include/ouroboros/du_buff.h
@@ -25,7 +25,10 @@
#define OUROBOROS_DU_BUFF_H
#include "common.h"
-#include "list.h"
+
+#ifndef DU_BUFF_BLOCK_SIZE
+#define DU_BUFF_BLOCK_SIZE sysconf(_SC_PAGESIZE)
+#endif
struct du_buff;