Merge branch 'tizen' into security-manager 74/250174/1
authorDariusz Michaluk <d.michaluk@samsung.com>
Mon, 21 Dec 2020 14:02:28 +0000 (15:02 +0100)
committerDariusz Michaluk <d.michaluk@samsung.com>
Mon, 21 Dec 2020 14:02:28 +0000 (15:02 +0100)
Change-Id: Ifcd188e804bca1ccead8194889014a2596d3289d

src/security-manager-tests/test_cases.cpp
src/security-manager-tests/test_cases_private_sharing.cpp

index 93d6cea..82d5dd4 100644 (file)
@@ -14,9 +14,7 @@
  *    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>
index 4f99eba..9cfce8a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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>