|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../libbsd/musl-fix-headers.patch # Copyright (C) 2015 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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. # --- SDE-COPYRIGHT-NOTE-END ---
--- libbsd-0.6.0.orig/src/flopen.c
+++ libbsd-0.6.0/src/flopen.c
@@ -32,6 +32,7 @@
#include <sys/stat.h> #include <errno.h> +#include <fcntl.h>
#include <stdarg.h> #include <unistd.h> #include <libutil.h> --- libbsd-0.6.0.orig/src/nlist.c
+++ libbsd-0.6.0/src/nlist.c
@@ -37,10 +37,11 @@
#include <sys/stat.h> #include <sys/file.h> #include <arpa/inet.h> +#include <linux/a.out.h>
#include <errno.h> -#include <a.out.h>
#include <stdio.h> +#include <fcntl.h>
#include <string.h> #include <unistd.h>
|