switch to c99 as the default
[baseutils.git] / realpath.c
index 0b800d97e82b8dcfe4c1fa12beafb0f0641cd693..6902439aa77af34273ea9e2a470f79de96b5127a 100644 (file)
@@ -28,6 +28,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  */
+#define _XOPEN_SOURCE 700
 
 #include <errno.h>
 #include <limits.h>
@@ -36,6 +37,8 @@
 #include <string.h>
 #include <unistd.h>
 
+#include <getopt.h>
+
 int
 main(int argc, char *argv[])
 {