Skip to content

Commit

Permalink
Fix a few compilation problems on old compilers. (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-adler committed May 21, 2019
1 parent 81d62fd commit 0823f05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libbitstream/bits_utils.c
Expand Up @@ -24,6 +24,7 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.

#define _GNU_SOURCE
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif // HAVE_CONFIG_H
Expand Down
3 changes: 3 additions & 0 deletions tools/base/fpgad/command_line.c
Expand Up @@ -24,11 +24,14 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.

#define _GNU_SOURCE
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif // HAVE_CONFIG_H

#include <getopt.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <pwd.h>
#include "command_line.h"
Expand Down

0 comments on commit 0823f05

Please sign in to comment.