Changeset 2121


Ignore:
Timestamp:
Dec 25, 2008, 3:07:56 PM (16 years ago)
Author:
bird
Message:

kmk: make sure alloca.h gets included (Solaris again).

Location:
trunk/src/kmk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/kmk/kmkbuiltin/append.c

    r2113 r2121  
    3636#include <string.h>
    3737#include <stdio.h>
     38#ifdef HAVE_ALLOCA_H
     39# include <alloca.h>
     40#endif
    3841#include "err.h"
    3942#include "kmkbuiltin.h"
  • TabularUnified trunk/src/kmk/kmkbuiltin/expr.c

    r2113 r2121  
    1818#include <setjmp.h>
    1919#include <assert.h>
     20#ifdef HAVE_ALLOCA_H
     21# include <alloca.h>
     22#endif
    2023#include "err.h"
    2124#include "getopt.h"
  • TabularUnified trunk/src/kmk/kmkbuiltin/fts.c

    r2113 r2121  
    5858#include <string.h>
    5959#include <unistd.h>
     60#ifdef HAVE_ALLOCA_H
     61# include <alloca.h>
     62#endif
    6063
    6164#ifdef __sun__
  • TabularUnified trunk/src/kmk/kmkbuiltin/kDepIDB.c

    r2115 r2121  
    3434#include <errno.h>
    3535#include <ctype.h>
     36#ifdef HAVE_ALLOCA_H
     37# include <alloca.h>
     38#endif
    3639#if !defined(_MSC_VER)
    3740# include <stdint.h>
  • TabularUnified trunk/src/kmk/kmkbuiltin/mkdir.c

    r2113 r2121  
    5656#include <sysexits.h>
    5757#include <unistd.h>
     58#ifdef HAVE_ALLOCA_H
     59# include <alloca.h>
     60#endif
    5861#include "getopt.h"
    5962#ifdef _MSC_VER
  • TabularUnified trunk/src/kmk/kmkbuiltin/rmdir.c

    r2113 r2121  
    5151#include <errno.h>
    5252#include <unistd.h>
     53#ifdef HAVE_ALLOCA_H
     54# include <alloca.h>
     55#endif
    5356#include "getopt.h"
    5457#include "kmkbuiltin.h"
  • TabularUnified trunk/src/kmk/make.h

    r2101 r2121  
    3737#  endif
    3838# endif
     39#elif defined(__sun__) && defined (HAVE_ALLOCA_H) /* bird: kill warnings. */
     40# include <alloca.h>
    3941#endif
    4042
Note: See TracChangeset for help on using the changeset viewer.