opnsense-ports/cad/pcb/files/patch-src-main.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
311 B
C

--- src/main.c.orig 2012-03-17 19:32:11.000000000 +0900
+++ src/main.c 2012-03-17 19:33:33.000000000 +0900
@@ -42,6 +42,10 @@
#include <sys/stat.h>
#include <time.h> /* Seed for srand() */
+#if defined(__FreeBSD__)
+#include <locale.h>
+#endif
+
#include "global.h"
#include "data.h"
#include "buffer.h"