diff options
author | Sebastien Dugue <sebastien.dugue@bull.net> | 2009-08-03 15:40:01 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-08-03 13:45:33 -0700 |
commit | cf744a2ef8343e5f74f9c59de3990e3e46ec301c (patch) | |
tree | f876ff35a4925ba2a5b06fc86761e5fdd90e7d44 | |
parent | 87750d1db4bc73933e92d862ff73d10d06ff4f5d (diff) | |
download | libmlx4-cf744a2ef8343e5f74f9c59de3990e3e46ec301c.tar.gz |
mmap() needs some includes
Add errno.h and sys/mman.h includes in buf.c for mmap(). The includes
were left out of 87750d1d ("Use mmap(MAP_ANONYMOUS) to allocate queue
buffers") by mistake.
Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | src/buf.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -35,6 +35,8 @@ #endif /* HAVE_CONFIG_H */ #include <stdlib.h> +#include <errno.h> +#include <sys/mman.h> #include "mlx4.h" |