Christian Wiese
11 years ago
1 changed files with 28 additions and 0 deletions
@ -0,0 +1,28 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||||
|
#
|
||||||
|
# Filename: package/.../pam/0001-include-paths.h.patch
|
||||||
|
# Copyright (C) 2013 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 ---
|
||||||
|
|
||||||
|
_PATH_LASTLOG is defined in paths.h
|
||||||
|
|
||||||
|
--- ./modules/pam_lastlog/pam_lastlog.c.orig 2013-09-09 11:11:09.709973140 +0200
|
||||||
|
+++ ./modules/pam_lastlog/pam_lastlog.c 2013-09-09 11:11:43.562756887 +0200
|
||||||
|
@@ -26,6 +26,7 @@
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <syslog.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
+#include <paths.h>
|
||||||
|
|
||||||
|
#if defined(hpux) || defined(sunos) || defined(solaris)
|
||||||
|
# ifndef _PATH_LASTLOG
|
Loading…
Reference in new issue