Show
Ignore:
Timestamp:
03/23/12 15:36:30 (2 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1332516990 -0400
git-parent:

[f37e7a1405d99bd5211be3fc073f5f72f59a0026]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1332516990 -0400
Message:

Support c99 compile

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/jlog/Makefile.in

    rcc981f5 r2148d59  
    33 
    44CC=@CC@ 
    5 CPPFLAGS=@CPPFLAGS@ 
     5CPPFLAGS=@CPPFLAGS@ -D_BSD_SOURCE=1 
    66CFLAGS=@CFLAGS@ 
    77LDFLAGS=@LDFLAGS@ 
     
    3535        jlog.lo jlog_hash.lo jlog_io.lo 
    3636 
    37 all:    libjlog.$(DOTSO) libjlog.a jlogctl test jlogperl 
     37all:    libjlog.$(DOTSO) libjlog.a jlogctl test 
    3838 
    3939.c.o: 
     
    5959 
    6060libjlog.a:      $(AOBJS) 
    61         $(AR) cq libjlog.a $(AOBJS) 
     61        $(AR) cr libjlog.a $(AOBJS) 
    6262        $(RANLIB) libjlog.a 
    6363 
  • src/jlog/jlog_io.c

    rb394de2 r2148d59  
    3535 * the identity crisis that is Linux. pread()/pwrite() 
    3636 */ 
    37 #define _XOPEN_SOURCE 500 
    38  
    3937#include "jlog_config.h" 
    4038#include "jlog_hash.h" 
  • src/noit_config.h.in

    racb84fe r2148d59  
    8989#undef HAVE_U_INT64_T 
    9090#undef HAVE_U_INTXX_T 
     91#undef HAVE_SIG_T 
    9192#undef HAVE_UUID_UNPARSE_LOWER 
    9293#define IFS_CH '/' 
  • src/noit_jlog_listener.c

    r811c412 r2148d59  
    4141 
    4242#include <unistd.h> 
    43 #define __USE_XOPEN 
    4443#include <poll.h> 
    4544#define MAX_ROWS_AT_ONCE 1000 
  • src/noitedit/sys.h

    rbafab25 r2148d59  
    4545#define _h_sys 
    4646 
     47#include "noit_config.h" 
     48 
    4749#ifndef public 
    4850# define public         /* Externally visible functions/variables */ 
     
    8183# undef REGEXP 
    8284# include <malloc.h> 
     85#endif 
     86#ifndef HAVE_SIG_T 
     87#define HAVE_SIG_T 
    8388typedef void (*sig_t)(int); 
    8489#endif