Include ac_cfg.h before libavrdude.h

On MSVC, this is required in order to have a definition of
PATH_MAX in place.
This commit is contained in:
Joerg Wunsch 2022-01-10 14:51:48 +01:00
parent fa8a31740f
commit cf35b7fe32
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "ac_cfg.h"
#include "avrdude.h"
#include "libavrdude.h"
#include "config.h"

View File

@ -25,6 +25,7 @@
#include <string.h>
#include <time.h>
#include "ac_cfg.h"
#include "avrdude.h"
#include "libavrdude.h"