mirror of
https://git.yoctoproject.org/poky
synced 2026-06-06 14:49:50 +00:00
64e2badde0
Add a '\n' to the last line of the file to fix: No newline at end of file (From OE-Core rev: b3090263ba31702631270643c7a7d7af8f4d9234) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
61 lines
1.3 KiB
Diff
61 lines
1.3 KiB
Diff
Upstream-Status: Backport
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
From 42f99a7a7b836f6f9704a7b1747eb722c93446ec Mon Sep 17 00:00:00 2001
|
|
From: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Date: Mon, 23 Apr 2012 14:28:39 +0000
|
|
Subject: include config.h before stdio.h & other system headers
|
|
|
|
Ensures definitions like _GNU_SOURCE are visible when needed.
|
|
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
---
|
|
diff --git a/exec.c b/exec.c
|
|
index dbcb669..419b10e 100644
|
|
--- a/exec.c
|
|
+++ b/exec.c
|
|
@@ -54,6 +54,10 @@ from The Open Group.
|
|
* original xmodmap, written by David Rosenthal, of Sun Microsystems.
|
|
*/
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
+# include "config.h"
|
|
+#endif
|
|
+
|
|
#include <X11/Xos.h>
|
|
#include <X11/Xlib.h>
|
|
#include <stdio.h>
|
|
diff --git a/pf.c b/pf.c
|
|
index 0eb0f55..3f0c3f4 100644
|
|
--- a/pf.c
|
|
+++ b/pf.c
|
|
@@ -26,6 +26,10 @@ from The Open Group.
|
|
|
|
*/
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
+# include "config.h"
|
|
+#endif
|
|
+
|
|
#include <X11/Xos.h>
|
|
#include <X11/Xlib.h>
|
|
#include <stdio.h>
|
|
diff --git a/xmodmap.c b/xmodmap.c
|
|
index 58a8e70..0f89629 100644
|
|
--- a/xmodmap.c
|
|
+++ b/xmodmap.c
|
|
@@ -26,6 +26,10 @@ from The Open Group.
|
|
|
|
*/
|
|
|
|
+#ifdef HAVE_CONFIG_H
|
|
+# include "config.h"
|
|
+#endif
|
|
+
|
|
#include <X11/Xos.h>
|
|
#include <X11/Xlib.h>
|
|
#include <stdio.h>
|
|
--
|
|
cgit v0.9.0.2-2-gbebe
|