Ignore:
Timestamp:
Jul 16, 2008, 7:23:29 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Fix a few HP-UX warnings caused by missing headers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/lib-stream.c

    r2533 r2542  
    1919#include "config.h"
    2020
    21 #define _GNU_SOURCE /* for getline() and getdelim() */
     21/* Needed for getline() and getdelim() */
     22#define _GNU_SOURCE
     23
     24#if defined HAVE___SREFILL || defined HAVE___FILBUF
     25#   define HAVE_REFILL_STDIO
     26#endif
    2227
    2328#if defined HAVE_STDINT_H
     
    3035#include <stdio.h>
    3136#include <sys/types.h>
    32 #if defined HAVE___SREFILL && defined HAVE_UNISTD_H
     37#if defined HAVE_REFILL_STDIO && defined HAVE_UNISTD_H
    3338#   include <unistd.h> /* Needed for __srefill’s lseek() call */
    3439#endif
     
    3944#include "fuzz.h"
    4045#include "fd.h"
    41 
    42 #if defined HAVE___SREFILL || defined HAVE___FILBUF
    43 #   define HAVE_REFILL_STDIO
    44 #endif
    4546
    4647#if defined HAVE___SREFILL
Note: See TracChangeset for help on using the changeset viewer.