|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../device-mapper/dietlibc.patch
|
|
|
|
# Copyright (C) 2007 - 2008 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 ---
|
|
|
|
|
|
|
|
--- ./lib/libdevmapper.h.orig 2008-03-10 23:00:02.000000000 +0000
|
|
|
|
+++ ./lib/libdevmapper.h 2008-03-10 23:02:49.000000000 +0000
|
|
|
|
@@ -24,6 +24,10 @@
|
|
|
|
# include <linux/types.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef __dietlibc__
|
|
|
|
+# include <stdint.h>
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <limits.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|