Fix MinGW target.

This commit is contained in:
Anthony J. Bentley
2014-09-24 03:17:33 -06:00
parent e3df758897
commit f3394f46b4
2 changed files with 5 additions and 2 deletions

4
src/extern/err.c vendored
View File

@@ -21,12 +21,14 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <err.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include "extern/err.h"
#ifndef __MINGW32__
extern char *__progname;
#endif
void rgbds_vwarn(const char *fmt, va_list ap)
{