include gmid.h before other headers to get all the prototypes

> implicit declaration of function 'asprintf'; did you mean 'vsprintf'?
This commit is contained in:
Anna “CyberTailor” 2022-02-03 10:10:32 +00:00 committed by Omar Polo
parent e20755180f
commit 1f1f381068
1 changed files with 2 additions and 2 deletions

View File

@ -23,6 +23,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include "gmid.h"
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
@ -30,8 +32,6 @@
#include <stdlib.h>
#include <string.h>
#include "gmid.h"
TAILQ_HEAD(files, file) files = TAILQ_HEAD_INITIALIZER(files);
static struct file {
TAILQ_ENTRY(file) entry;