diff --git a/scconfig/src/default/find_io.c b/scconfig/src/default/find_io.c index 20aa2ad2..78b9cfa6 100644 --- a/scconfig/src/default/find_io.c +++ b/scconfig/src/default/find_io.c @@ -125,7 +125,6 @@ int find_io_fileno(const char *name, int logdepth, int fatal) { char test_c[256]; char *test_c_ = - NL "#include " NL "int main() {" /* NOTE: can not check for implicit declaration as fileno() may be a macro (e.g. on MINIX3) */ NL " if (%s(stdout) >= 0)" @@ -142,19 +141,19 @@ int find_io_fileno(const char *name, int logdepth, int fatal) /* UNIX */ sprintf(test_c, test_c_, "fileno"); - if (try_icl(logdepth, "libs/io/fileno", test_c, NULL, NULL, NULL)) { + if (try_icl(logdepth, "libs/io/fileno", test_c, "#include \n", NULL, NULL)) { put("libs/io/fileno/call", "fileno"); return 0; } sprintf(test_c, test_c_, "fileno"); - if (try_icl(logdepth, "libs/io/fileno", test_c, "#include \n", NULL, NULL)) { + if (try_icl(logdepth, "libs/io/fileno", test_c, "#include \n#include \n", NULL, NULL)) { put("libs/io/fileno/call", "fileno"); return 0; } sprintf(test_c, test_c_, "fileno"); - if (try_icl(logdepth, "libs/io/fileno", test_c, "#define _XOPEN_SOURCE\n#include \n", NULL, NULL)) { + if (try_icl(logdepth, "libs/io/fileno", test_c, "#define _XOPEN_SOURCE\n#include \n#include \n", NULL, NULL)) { put("libs/io/fileno/call", "fileno"); return 0; } diff --git a/xschem_library/devices/title-2.sym b/xschem_library/devices/title-2.sym index 5b2421d4..6a7d3627 100644 --- a/xschem_library/devices/title-2.sym +++ b/xschem_library/devices/title-2.sym @@ -2,7 +2,7 @@ v {xschem version=3.1.0 file_version=1.2 } G {} K {type=logo -template="name=l1 author=\\"Stefan Schippers\\" rev=1.0 lock=true" +template="name=l1 author=\\"Stefan Schippers\\" rev=1.0 lock=false" verilog_ignore=true vhdl_ignore=true spice_ignore=true diff --git a/xschem_library/devices/title-3.sym b/xschem_library/devices/title-3.sym index 994148e6..033121a5 100644 --- a/xschem_library/devices/title-3.sym +++ b/xschem_library/devices/title-3.sym @@ -2,7 +2,7 @@ v {xschem version=3.1.0 file_version=1.2 } G {} K {type=logo -template="name=l1 author=\\"Stefan Schippers\\" rev=1.0 lock=true" +template="name=l1 author=\\"Stefan Schippers\\" rev=1.0 lock=false" verilog_ignore=true vhdl_ignore=true spice_ignore=true