]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
uuid: include unistd to make encode testing work
authorSage Weil <sage@inktank.com>
Thu, 20 Sep 2012 22:40:13 +0000 (15:40 -0700)
committerSage Weil <sage@inktank.com>
Thu, 20 Sep 2012 22:40:13 +0000 (15:40 -0700)
The expanded encode/decode macros need getpid(2) and close(2).

Signed-off-by: Sage Weil <sage@inktank.com>
src/include/uuid.h

index 17a516043ebe0d0e5af1cb73300c495bd582f617..942b80709226254d5e3ec90e525c57c7c76b5203 100644 (file)
@@ -10,6 +10,7 @@
 
 extern "C" {
 #include <uuid/uuid.h>
+#include <unistd.h>
 }
 
 struct uuid_d {