From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15765 invoked by alias); 23 Apr 2008 17:49:13 -0000 Received: (qmail 15729 invoked by uid 22791); 23 Apr 2008 17:49:11 -0000 X-Spam-Check-By: sourceware.org Received: from p12018-ipbffx02marunouchi.tokyo.ocn.ne.jp (HELO mail.pizzafactory.jp) (222.147.75.18) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 Apr 2008 17:48:50 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.pizzafactory.jp (Postfix) with ESMTP id 71F7E33680DF for ; Thu, 24 Apr 2008 02:48:47 +0900 (JST) Received: from mail.pizzafactory.jp ([127.0.0.1]) by localhost (ldap.monami-software.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H7HLpQhAPcUE for ; Thu, 24 Apr 2008 02:48:46 +0900 (JST) Received: from [192.168.123.6] (s209.GtokyoFL1.vectant.ne.jp [202.215.14.209]) by mail.pizzafactory.jp (Postfix) with ESMTP id E035633680CF for ; Thu, 24 Apr 2008 02:48:46 +0900 (JST) Message-Id: From: Masaki Muranaka To: gdb-patches@sourceware.org Content-Type: multipart/mixed; boundary=Apple-Mail-10-884975151 Mime-Version: 1.0 (Apple Message framework v919.2) Subject: [tcl] Undefined NULL in tcl/compat/strstr.c Date: Wed, 23 Apr 2008 18:10:00 -0000 X-Mailer: Apple Mail (2.919.2) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00525.txt.bz2 --Apple-Mail-10-884975151 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Content-length: 224 Hello, This is obvious. Could anyone commit my patch? 2008-04-24 Masaki Muranaka * compat/strstr.c : Add include stddef.h to get NULL define. -- Masaki Muranaka Monami Software --Apple-Mail-10-884975151 Content-Disposition: attachment; filename=strstr.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="strstr.diff" Content-Transfer-Encoding: 7bit Content-length: 457 Index: strstr.c =================================================================== RCS file: /cvs/src/src/tcl/compat/strstr.c,v retrieving revision 1.5 diff -u -p -r1.5 strstr.c --- strstr.c 21 Jan 2003 19:39:57 -0000 1.5 +++ strstr.c 23 Apr 2008 17:38:34 -0000 @@ -12,6 +12,8 @@ * RCS: @(#) $Id: strstr.c,v 1.3 2002/01/26 01:10:08 dgp Exp $ */ +#include + /* *---------------------------------------------------------------------- * --Apple-Mail-10-884975151 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Content-length: 2 --Apple-Mail-10-884975151--