about summary refs log tree commit diff stats
path: root/src/wrapped32/wrappednsl.c
blob: 0065d0c97fd22f75eceafeef8ef8caa91332015c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define _GNU_SOURCE         /* See feature_test_macros(7) */
#include <dlfcn.h>

#include "wrappedlibs.h"

#include "wrapper32.h"
#include "bridge.h"
#include "librarian/library_private.h"
#include "x64emu.h"

#ifdef LA64
static const char* nslName = "libnsl.so.2";
#else
static const char* nslName = "libnsl.so.1";
#endif
#define LIBNAME nsl

#include "wrappedlib_init32.h"