]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/proftool.c
Fix musl build
[karo-tx-uboot.git] / tools / proftool.c
index aa05e77ece547f352f1c0919dcf21f8b8a093773..9ce7a7796e7f04b310eae4dc713d6c6a613e0acb 100644 (file)
@@ -1,20 +1,7 @@
 /*
  * Copyright (c) 2013 Google, Inc
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* Decode and dump U-Boot profiling information */
@@ -29,6 +16,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <sys/param.h>
+#include <sys/types.h>
 
 #include <compiler.h>
 #include <trace.h>