avoid possibility of using obsoleted stuff

This commit is contained in:
Yang Tse 2010-02-02 12:39:10 +00:00
parent bafba6946c
commit 232d17ec64
9 changed files with 26 additions and 5 deletions

View File

@ -13,6 +13,8 @@
need both of them in the include path), so that we get good in-depth
knowledge about the system we're building this on */
#define CURL_NO_OLDIES
#include "setup.h"
#include <curl/curl.h>

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -21,6 +21,8 @@
* $Id$
***************************************************************************/
#define CURL_NO_OLDIES
#include "setup.h"
#include "getpart.h"

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -30,6 +30,9 @@
* Like if 'localhost' actual exists etc.
*
*/
#define CURL_NO_OLDIES
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H

View File

@ -27,6 +27,8 @@
* This source file was started based on curl's HTTP test suite server.
*/
#define CURL_NO_OLDIES
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -80,6 +80,8 @@
* if no signal was being ignored or handled at all. Enjoy it!
*/
#define CURL_NO_OLDIES
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H

View File

@ -27,6 +27,9 @@
Wilke. Thanks a bunch!
*/
#define CURL_NO_OLDIES
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -21,6 +21,8 @@
* $Id$
***************************************************************************/
#define CURL_NO_OLDIES
#include "setup.h"
#include "getpart.h"

View File

@ -48,6 +48,8 @@
* SUCH DAMAGE.
*/
#define CURL_NO_OLDIES
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SYS_IOCTL_H

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -20,6 +20,9 @@
*
* $Id$
***************************************************************************/
#define CURL_NO_OLDIES
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H