After attr package upgrade, attr/xattr.h has ben removed,
sys/xattr.h should be used instead.
To fix build break, unnecessary attr/xattr.h usage has ben removed
or changed to proper one.
Change-Id: I5a5acfd9f65e60975a1c28d0231d1bc035e99044
* limitations under the License.
*/
-// cstdlibg has to be included before attr/xattr
-#include <cstdlib>
-#include <attr/xattr.h>
+#include <linux/xattr.h>
#include <fstream>
#include <memory>
#include <regex>
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2016-2020 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License.
*/
-// This has to be before xattr header, because it uses size_t and ssize_t and does not include this
-// I hate you, xattr
-#include <sys/types.h>
-#include <attr/xattr.h>
#include <ftw.h>
#include <string>
#include <sys/smack.h>