summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-03-15 16:04:55 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-03-15 16:04:55 +0100
commit788414c1a728440e25b8a7428af294189e3b70ca (patch)
tree6fb96112f64976ca19d069beaf08dbb4d4e3791b /include
parent7ca8145790db15d7da3c2f1b260ad3421993b67c (diff)
parent8c649a56e61012d0b245defbdea3ff5c3acb21c1 (diff)
downloadouroboros-788414c1a728440e25b8a7428af294189e3b70ca.tar.gz
ouroboros-788414c1a728440e25b8a7428af294189e3b70ca.zip
Merged in dstaesse/ouroboros/b-du_buff (pull request #32)
lib: Updated du_buff to limit allowable PCI size
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;