Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Add missing headers/macros
Browse files Browse the repository at this point in the history
  • Loading branch information
kravietz committed Dec 26, 2019
1 parent 2e18950 commit b9f6ffa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libtac/include/libtac.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ extern "C" {
#define __CLANG_PREREQ(maj, min) (0)
#endif

#ifndef __GNUC_PREREQ
# define __GNUC_PREREQ(ma, mi) 0
#endif

#if __GNUC_PREREQ(3, 2) || __CLANG_PREREQ(4, 0)
#define __Unused __attribute__ ((unused))
#else
Expand Down
2 changes: 2 additions & 0 deletions tacc.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include <time.h>
#include <getopt.h>
#include <ctype.h>
#include <signal.h>
#include <sys/time.h>

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down

0 comments on commit b9f6ffa

Please sign in to comment.