[gnome-control-center] screen: include string.h to avoid implicit declaration of function 'strstr'



commit 4f322b8c1ce4326ded01b170536c2e3051b98637
Author: Thomas Wood <thomas wood intel com>
Date:   Tue Nov 13 14:46:00 2012 +0000

    screen: include string.h to avoid implicit declaration of function 'strstr'

 panels/screen/cc-screen-panel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/screen/cc-screen-panel.c b/panels/screen/cc-screen-panel.c
index 77eb6af..389698d 100644
--- a/panels/screen/cc-screen-panel.c
+++ b/panels/screen/cc-screen-panel.c
@@ -20,6 +20,7 @@
  */
 
 #include "cc-screen-panel.h"
+#include <string.h>
 
 CC_PANEL_REGISTER (CcScreenPanel, cc_screen_panel)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]