Some standard include files (stdlib.h and string.h) were not being included
where necessary. This worked in the past, but seems to break for some
versions of the compiler/standard library, so be sure to include what we
need.
* handling of the statcache, and re-use of metadata between snapshots.
*/
+#include <stdlib.h>
+#include <string.h>
#include <string>
#include <iostream>
#include <map>
#include <assert.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <uuid/uuid.h>
#include <string>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <sys/types.h>
#include <assert.h>
#include <errno.h>
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/resource.h>
* referenced from the new metadata log. */
#include <stdlib.h>
+#include <string.h>
#include <assert.h>
#include <arpa/inet.h>
* later, for parsing them back, perhaps). */
#include <stdio.h>
+#include <stdlib.h>
#include <uuid/uuid.h>
#include <iostream>