hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/tools/perf/util/get_current_dir_name.c
....@@ -1,11 +1,11 @@
1
-// SPDX-License-Identifier: GPL-2.0
2
-// Copyright (C) 2018, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
1
+// SPDX-License-Identifier: LGPL-2.1
2
+// Copyright (C) 2018, 2019 Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
33 //
44 #ifndef HAVE_GET_CURRENT_DIR_NAME
5
-#include "util.h"
5
+#include "get_current_dir_name.h"
6
+#include <limits.h>
7
+#include <string.h>
68 #include <unistd.h>
7
-#include <stdlib.h>
8
-#include <stdlib.h>
99
1010 /* Android's 'bionic' library, for one, doesn't have this */
1111