Dominique Leuenberger
d4e0196f06
- Add gnome-user-share-includes.patch: Include string.h to have strcmp defined. OBS-URL: https://build.opensuse.org/request/show/93894 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-user-share?expand=0&rev=53
25 lines
637 B
Diff
25 lines
637 B
Diff
From 7531029125b292fa4843bd3e253b3b18a60806eb Mon Sep 17 00:00:00 2001
|
|
From: Dominique Leuenberger <dimstar@opensuse.org>
|
|
Date: Sun, 27 Nov 2011 21:01:18 +0100
|
|
Subject: [PATCH] Include string.h in order to have strcmp defined.
|
|
|
|
---
|
|
src/user_share-common.c | 1 +
|
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/src/user_share-common.c b/src/user_share-common.c
|
|
index 31389eb..614ffb1 100644
|
|
--- a/src/user_share-common.c
|
|
+++ b/src/user_share-common.c
|
|
@@ -23,6 +23,7 @@
|
|
*/
|
|
|
|
#include "user_share-common.h"
|
|
+#include <string.h> // For strcmp
|
|
|
|
static char *
|
|
lookup_special_dir (GUserDirectory directory,
|
|
--
|
|
1.7.7
|
|
|