summaryrefslogtreecommitdiffstats
path: root/src/afb-api-so-v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-api-so-v1.c')
-rw-r--r--src/afb-api-so-v1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afb-api-so-v1.c b/src/afb-api-so-v1.c
index 7db686d8..c7b40e8d 100644
--- a/src/afb-api-so-v1.c
+++ b/src/afb-api-so-v1.c
@@ -15,6 +15,8 @@
* limitations under the License.
*/
+#if defined(WITH_LEGACY_BINDING_V1)
+
#define _GNU_SOURCE
#include <stdio.h>
@@ -217,3 +219,5 @@ error:
return -1;
}
+#endif
+