diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-03-15 16:04:55 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-03-15 16:04:55 +0100 |
commit | 788414c1a728440e25b8a7428af294189e3b70ca (patch) | |
tree | 6fb96112f64976ca19d069beaf08dbb4d4e3791b /include/ouroboros | |
parent | 7ca8145790db15d7da3c2f1b260ad3421993b67c (diff) | |
parent | 8c649a56e61012d0b245defbdea3ff5c3acb21c1 (diff) | |
download | ouroboros-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/ouroboros')
-rw-r--r-- | include/ouroboros/du_buff.h | 5 |
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; |