diff options
Diffstat (limited to 'src/fldd/main.c')
-rw-r--r-- | src/fldd/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fldd/main.c b/src/fldd/main.c index 4b645b1b3..63398ce2e 100644 --- a/src/fldd/main.c +++ b/src/fldd/main.c | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #include "../include/common.h" | 21 | #include "../include/common.h" |
22 | #include "../include/ldd_utils.h" | 22 | #include "../include/ldd_utils.h" |
23 | #ifdef HAVE_PRIVATE_LIB | ||
23 | 24 | ||
24 | #include <fcntl.h> | 25 | #include <fcntl.h> |
25 | #include <sys/mman.h> | 26 | #include <sys/mman.h> |
@@ -357,3 +358,9 @@ printf("\n"); | |||
357 | close(fd); | 358 | close(fd); |
358 | return 0; | 359 | return 0; |
359 | } | 360 | } |
361 | #else | ||
362 | int main(void) { | ||
363 | printf("Sorry, private lib is disabled in this build\n"); | ||
364 | return 0; | ||
365 | } | ||
366 | #endif \ No newline at end of file | ||