Try fixing Linux warnings

This commit is contained in:
Evan Miller 2020-08-05 23:17:22 -04:00
parent 783304c164
commit 514b74744b
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#ifndef _glib_shim_h_
#define _glib_shim_h_
#ifndef _mdbfakeglib_h_
#define _mdbfakeglib_h_
#include <time.h>
#include <locale.h>

View File

@ -1,13 +1,14 @@
#define _GNU_SOURCE
#include "mdbfakeglib.h"
#define _GNU_SOURCE /* vasprintf */
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <getopt.h>
#include <errno.h>
/* string functions */