TP3: avoid warning on cygwin
[Algorithmic_C.git] / TP3 / tp3.c
index 7fa3dd729b217aed17587a554eb1fab8e1b0262a..ffb53c20129a24e92077dd83c3acc105273c7e65 100644 (file)
--- a/TP3/tp3.c
+++ b/TP3/tp3.c
@@ -1,4 +1,8 @@
 #include <stdio.h>
+#if __BSD_VISIBLE
+#undef __BSD_VISIBLE
+#define __BSD_VISIBLE
+#endif
 #include <stdlib.h>
 
 void AfficheTab(int T[], int n) {
@@ -57,7 +61,7 @@ int main() {
     
     AfficheTab(T, tabSize);
 
-    TriFusion(T,tabSize); 
+    TriFusion(T, tabSize);
 
     AfficheTab(T, tabSize);