librbd: fix includes for portability

This needs limits.h for Centos, and the inttypes.h wrapper for FreeBSD.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
Josh Durgin 2012-09-26 16:58:32 -07:00 committed by Sage Weil
parent aae9214c80
commit 6c5c939f1d

View File

@ -1,12 +1,13 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
#include <errno.h>
#include <inttypes.h>
#include <limits.h>
#include "common/ceph_context.h"
#include "common/dout.h"
#include "common/errno.h"
#include "cls/lock/cls_lock_client.h"
#include "include/inttypes.h"
#include "include/stringify.h"
#include "librbd/AioCompletion.h"