]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rados: include struct timeval definition 1013/head
authorNoah Watkins <noahwatkins@gmail.com>
Sun, 29 Dec 2013 20:56:34 +0000 (12:56 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Sun, 29 Dec 2013 21:35:58 +0000 (13:35 -0800)
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/include/rados/librados.h

index 1fd92756ab6ca2f4b42d90519133be9ab62b6276..4f35a7799fac1d484161557fa373f52d405be8a1 100644 (file)
@@ -14,6 +14,8 @@ extern "C" {
 #include <string.h>
 #include "rados_types.h"
 
+#include <sys/time.h>
+
 #ifndef CEPH_OSD_TMAP_SET
 /* These are also defined in rados.h and objclass.h. Keep them in sync! */
 #define CEPH_OSD_TMAP_HDR 'h'