X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fnmem.c;fp=util%2Fnmem.c;h=15fe281478f3e7bd430ae9ebf60f7ab4386d3a68;hp=95454718876becb3dc67ca6226d4924e951e7ea2;hb=5acca4fa9c5841f48e8ef1b6ac7599dccde69b65;hpb=cd3269449ef2be79e241e1c687856257276ad97d diff --git a/util/nmem.c b/util/nmem.c index 9545471..15fe281 100644 --- a/util/nmem.c +++ b/util/nmem.c @@ -1,9 +1,9 @@ /* - * Copyright (c) 1995-2001, Index Data. + * Copyright (c) 1995-2002, Index Data. * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: nmem.c,v 1.35 2002-06-12 19:42:38 adam Exp $ + * $Id: nmem.c,v 1.36 2002-09-10 18:41:18 adam Exp $ */ /* @@ -16,6 +16,7 @@ #include #include +#include #include #include #include @@ -429,3 +430,8 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, return TRUE; } #endif + +int yaz_errno(void) +{ + return errno; +}