[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#1359: Missing index () prototype in kdebase-1.1.1/samba/ksmbstatus.cpp
From:       Paul Sydney <sydney () ulua ! mhpcc ! af ! mil>
Date:       1999-05-12 8:11:22
[Download RAW message or body]

Package: kdebase-1.1.1
Directory: samba
File: ksmbstatus.cpp
Platform: sgi-irix-6.5 using egcs (1999-05-03 snapshot) --shared

ksmbstatus needs prototype definition of index () defined in <strings.h>
on SGI.  Here is the patch:

*** ksmbstatus.cpp.orig	Tue May 11 22:08:33 1999
--- ksmbstatus.cpp	Tue May 11 22:09:34 1999
***************
*** 11,16 ****
--- 11,20 ----
  #include <time.h>
  #include <kprocess.h>
  
+ #if defined(HAVE_STRINGS_H)
+ #include <strings.h>
+ #endif
+ 
  #include "ksmbstatus.h"
  #include "ksmbstatus.moc"
  

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic