Skip to content

Commit

Permalink
Fixed implicit declaration of function due to missing header.
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed May 28, 2014
1 parent e7ef661 commit c6deef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions error.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#if defined(__GLIBC__)
#include <execinfo.h>
#endif
Expand Down
3 changes: 2 additions & 1 deletion goaccess.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>

#ifdef HAVE_LIBTOKYOCABINET
#include "tcabinet.h"
Expand Down Expand Up @@ -797,7 +798,7 @@ parse_cmd_line (int argc, char **argv)
}

#if defined(__GLIBC__)
void
static void
setup_signal_handlers (void)
{
struct sigaction act;
Expand Down

0 comments on commit c6deef1

Please sign in to comment.